mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-03 16:00:36 +01:00
some small fixes
This commit is contained in:
1 parent
a15e331681
commit
b3064cdd3a
3 files changed
+11
-23
No files matched your search
@@ -53,19 +53,6 @@
|
|||||||
.center {
|
.center {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: var(--space-3);
|
padding: var(--space-3);
|
||||||
|
|
||||||
.text {
|
|
||||||
.align {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: var(--space-3);
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 1em;
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -88,15 +88,12 @@ function Group({ group, characteristics, rankings }: GroupProps) {
|
|||||||
>
|
>
|
||||||
<div className={styles.title}>
|
<div className={styles.title}>
|
||||||
<div className={styles.center}>
|
<div className={styles.center}>
|
||||||
<Heading size="3" className={styles.text}>
|
<Heading size="3">
|
||||||
<div className={styles.align}>
|
{
|
||||||
{
|
(strings.tanks.characteristics.titles as Record<string, string>)[
|
||||||
(
|
group.name
|
||||||
strings.tanks.characteristics.titles as Record<string, string>
|
]
|
||||||
)[group.name]
|
}
|
||||||
}
|
|
||||||
<img src={`/media/groups/${group.name}.png`} />
|
|
||||||
</div>
|
|
||||||
</Heading>
|
</Heading>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import type { ExternalModuleVariant } from "../components/SpacedArmorSceneCompon
|
|||||||
import { createTankState } from "../tankopedia/createTankState";
|
import { createTankState } from "../tankopedia/createTankState";
|
||||||
import type { TankState } from "../tankopedia/tankState";
|
import type { TankState } from "../tankopedia/tankState";
|
||||||
import { App } from "./app";
|
import { App } from "./app";
|
||||||
import type { TankopediaDisplay } from "./tankopediaPersistent/constants";
|
import { TankopediaDisplay } from "./tankopediaPersistent/constants";
|
||||||
|
|
||||||
export interface ShotLayerBase {
|
export interface ShotLayerBase {
|
||||||
index: number;
|
index: number;
|
||||||
@@ -133,6 +133,10 @@ export const Tankopedia = new Soapstone<Tankopedia, [TankDefinition]>(
|
|||||||
relative_against: TankopediaRelativeAgainst.ClassAndTier,
|
relative_against: TankopediaRelativeAgainst.ClassAndTier,
|
||||||
|
|
||||||
loaders: {
|
loaders: {
|
||||||
|
display: {
|
||||||
|
requested: TankopediaDisplay.Model,
|
||||||
|
loaded: TankopediaDisplay.Model,
|
||||||
|
},
|
||||||
model: { requested: App.state.autoLoadModels, loaded: false },
|
model: { requested: App.state.autoLoadModels, loaded: false },
|
||||||
skin: { requested: undefined, loaded: undefined },
|
skin: { requested: undefined, loaded: undefined },
|
||||||
attachment: { requested: undefined, loaded: undefined },
|
attachment: { requested: undefined, loaded: undefined },
|
||||||
|
|||||||
Reference in new issue
Block a user