some small fixes

This commit is contained in:
tresabhi committed 2026-10-31 13:41:41 -05:00
1 parent a15e331681
commit b3064cdd3a
3 files changed
+11 -23

No files matched your search

@@ -53,19 +53,6 @@
.center {
flex: 1;
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.center}>
<Heading size="3" className={styles.text}>
<div className={styles.align}>
{
(
strings.tanks.characteristics.titles as Record<string, string>
)[group.name]
}
<img src={`/media/groups/${group.name}.png`} />
</div>
<Heading size="3">
{
(strings.tanks.characteristics.titles as Record<string, string>)[
group.name
]
}
</Heading>
</div>
</div>
+5 -1
View File
@@ -8,7 +8,7 @@ import type { ExternalModuleVariant } from "../components/SpacedArmorSceneCompon
import { createTankState } from "../tankopedia/createTankState";
import type { TankState } from "../tankopedia/tankState";
import { App } from "./app";
import type { TankopediaDisplay } from "./tankopediaPersistent/constants";
import { TankopediaDisplay } from "./tankopediaPersistent/constants";
export interface ShotLayerBase {
index: number;
@@ -133,6 +133,10 @@ export const Tankopedia = new Soapstone<Tankopedia, [TankDefinition]>(
relative_against: TankopediaRelativeAgainst.ClassAndTier,
loaders: {
display: {
requested: TankopediaDisplay.Model,
loaded: TankopediaDisplay.Model,
},
model: { requested: App.state.autoLoadModels, loaded: false },
skin: { requested: undefined, loaded: undefined },
attachment: { requested: undefined, loaded: undefined },