Stack type badges vertically for dual-type Pokemon
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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} />
|
||||
))}
|
||||
|
||||
@@ -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} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user