diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/components/Modules.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/components/Modules.tsx index 7ba2831d0..fe8e23a8a 100644 --- a/src/app/tools/tankopedia/[id]/components/Characteristics/components/Modules.tsx +++ b/src/app/tools/tankopedia/[id]/components/Characteristics/components/Modules.tsx @@ -6,7 +6,6 @@ import { IconButton, Link, Text, - Theme, } from '@radix-ui/themes'; import { use } from 'react'; import { asset } from '../../../../../../../core/blitzkit/asset'; @@ -38,6 +37,7 @@ function ModuleButton({ notation: 'compact', maximumFractionDigits: 0, }); + const isTank = unlock.type === 'vehicle'; const button = ( {TIER_ROMAN_NUMERALS[tier]} @@ -70,6 +72,7 @@ function ModuleButton({ transform: 'translateX(-50%)', }} align="center" + gap={isTank ? '1' : undefined} > {numberFormat.format(unlock.cost.value)} @@ -90,23 +93,21 @@ function ModuleButton({ {unlock.type} ); - return unlock.type === 'vehicle' ? ( - - {button} - + return isTank ? ( + {button} ) : ( button ); diff --git a/src/app/tools/tankopedia/[id]/components/Model/CharacteristicsSection.tsx b/src/app/tools/tankopedia/[id]/components/Model/CharacteristicsSection.tsx index 0320807b7..6f1998dcc 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/CharacteristicsSection.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/CharacteristicsSection.tsx @@ -9,7 +9,7 @@ import { Provisions } from '../Characteristics/components/Provisions'; import { Skills } from '../Characteristics/components/Skills'; export function CharacteristicsSection() { - const wideFormat = useWideFormat(700); + const wideFormat = useWideFormat(880); return ( - + Configure diff --git a/src/components/ConsumablesManager.tsx b/src/components/ConsumablesManager.tsx index ebc3b268c..df2636477 100644 --- a/src/components/ConsumablesManager.tsx +++ b/src/components/ConsumablesManager.tsx @@ -24,7 +24,12 @@ export function ConsumablesManager({ hasHighEndConsumables, }: ConsumablesManagerProps) { return ( - + {consumables.map((consumable, index) => { const isSelected = selected.some((id) => id === consumable.id);