Stack type badges vertically for dual-type Pokemon

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 21:14:03 +01:00
parent 6d77fb731e
commit c809a9c69a
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export function PokemonCard({ encounter, showFaintLevel, onClick }: PokemonCardP
</div>
)}
<div className="flex gap-1 mt-1">
<div className="flex flex-col items-center gap-0.5 mt-1">
{displayPokemon.types.map((type) => (
<TypeBadge key={type} type={type} />
))}

View File

@@ -127,7 +127,7 @@ export function StatusChangeModal({
{displayPokemon.name}
</div>
)}
<div className="flex gap-1 mt-1">
<div className="flex flex-col gap-0.5 mt-1">
{displayPokemon.types.map((type) => (
<TypeBadge key={type} type={type} />
))}