Fix stretched type badges in StatusChangeModal

Add items-start to the flex-col container so badge images respect
their intrinsic width instead of stretching to fill the container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 12:56:42 +01:00
parent 069093ebae
commit c049d07917

View File

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