From b3064cdd3aca3e0519a3bfa5911b5d380bdf620b Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Sat, 31 Oct 2026 13:41:41 -0500 Subject: [PATCH] some small fixes --- .../TankopediaCharacteristics/index.module.css | 13 ------------- .../TankopediaCharacteristics/index.tsx | 15 ++++++--------- packages/website/src/stores/tankopedia.ts | 6 +++++- 3 files changed, 11 insertions(+), 23 deletions(-) diff --git a/packages/website/src/components/TankopediaCharacteristics/index.module.css b/packages/website/src/components/TankopediaCharacteristics/index.module.css index 59d51f302..d4156b92c 100644 --- a/packages/website/src/components/TankopediaCharacteristics/index.module.css +++ b/packages/website/src/components/TankopediaCharacteristics/index.module.css @@ -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; - } - } - } } } diff --git a/packages/website/src/components/TankopediaCharacteristics/index.tsx b/packages/website/src/components/TankopediaCharacteristics/index.tsx index 0d2574fd0..ed4453aba 100644 --- a/packages/website/src/components/TankopediaCharacteristics/index.tsx +++ b/packages/website/src/components/TankopediaCharacteristics/index.tsx @@ -88,15 +88,12 @@ function Group({ group, characteristics, rankings }: GroupProps) { >
- -
- { - ( - strings.tanks.characteristics.titles as Record - )[group.name] - } - -
+ + { + (strings.tanks.characteristics.titles as Record)[ + group.name + ] + }
diff --git a/packages/website/src/stores/tankopedia.ts b/packages/website/src/stores/tankopedia.ts index fdcb142ce..2ab6d8adc 100644 --- a/packages/website/src/stores/tankopedia.ts +++ b/packages/website/src/stores/tankopedia.ts @@ -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( 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 },