fix(ui): prevent card jitter when health badge appears

Increase min-height of the name row from 20px to 28px (min-h-7)
to accommodate the health badge height, preventing layout shift
when the badge dynamically appears.
This commit is contained in:
Jason
2025-12-15 22:57:41 +08:00
parent e081c7560c
commit 5efc0cdd5e
+1 -1
View File
@@ -227,7 +227,7 @@ export function ProviderCard({
</div>
<div className="space-y-1">
<div className="flex flex-wrap items-center gap-2 min-h-[20px]">
<div className="flex flex-wrap items-center gap-2 min-h-7">
<h3 className="text-base font-semibold leading-none">
{provider.name}
</h3>