diff --git a/packages/website/src/components/TankopediaCharacteristics/index.module.css b/packages/website/src/components/TankopediaCharacteristics/index.module.css index 3a25ee318..4f13ede57 100644 --- a/packages/website/src/components/TankopediaCharacteristics/index.module.css +++ b/packages/website/src/components/TankopediaCharacteristics/index.module.css @@ -135,10 +135,6 @@ width: 100%; height: 100%; - display: flex; - align-items: center; - justify-content: center; - background-color: var(--gray-2); outline: var(--gray-5) solid var(--space-1); border-radius: var(--space-3); diff --git a/packages/website/src/components/TankopediaCharacteristics/index.tsx b/packages/website/src/components/TankopediaCharacteristics/index.tsx index 8d0147d5c..0e8df4ea6 100644 --- a/packages/website/src/components/TankopediaCharacteristics/index.tsx +++ b/packages/website/src/components/TankopediaCharacteristics/index.tsx @@ -2,6 +2,7 @@ import { TIER_ROMAN_NUMERALS } from "@blitzkit/core"; import { literals } from "@blitzkit/i18n/src/literals"; import { useRef } from "react"; import { characteristicsGroups } from "../../config/characteristicsGroups"; +import { toys } from "../../config/toys"; import { useCharacteristicRenderer } from "../../hooks/useCharacteristicRenderer"; import { DuelModule, useDuel } from "../../hooks/useDuel"; import { useRankings } from "../../hooks/useRankings"; @@ -14,6 +15,7 @@ import type { CharacteristicReturnType, CharacteristicsGroup, ComputedCharacteristics, + ToyName, } from "../../types/characteristics"; import { Heading } from "../Heading"; import { SegmentedControl } from "../SegmentedControl"; @@ -107,7 +109,9 @@ function Group({ group, characteristics, rankings }: GroupProps) { > {group.order.map((item) => ( <> - {"toy" in item && } + {"toy" in item && ( + + )} {"label" in item &&