fix(team-card) : align character and equipment tiles
CI / Verify (push) Successful in 57s
CI / Build immutable images and deploy (push) Successful in 1m56s

This commit is contained in:
2026-09-04 08:02:08 +07:00 Unverified
parent 0648022a01
commit 2b7729562b
+6 -6
View File
@@ -102,16 +102,16 @@ function TeamCard({
className={cn(
"gap-2",
exporting
? "grid grid-cols-5"
: "flex flex-col sm:grid sm:grid-cols-5",
? "grid grid-cols-3"
: "flex flex-col sm:grid sm:grid-cols-3",
)}
>
<div
className={cn(
"relative aspect-square min-h-0 overflow-hidden rounded-lg bg-muted",
exporting
? "col-span-3 row-span-2"
: "sm:col-span-3 sm:row-span-2",
? "col-span-2 row-span-2"
: "sm:col-span-2 sm:row-span-2",
rarityGradientClass(
isCustomTravelerKey(member.character.key)
? 5
@@ -134,8 +134,8 @@ function TeamCard({
className={cn(
"min-w-0 grid grid-cols-2 gap-2",
exporting
? "col-span-2 row-span-2"
: "sm:col-span-2 sm:row-span-2",
? "row-span-2"
: "sm:row-span-2",
)}
>
{member.weapon ? (