From 0648022a011c49aef3f2374528a89d8d207f19c8 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Fri, 4 Sep 2026 07:53:21 +0700 Subject: [PATCH] fix(team-calc) : update artifact card layout --- components/public/team-search.tsx | 109 ++++++++++++++++-------------- 1 file changed, 58 insertions(+), 51 deletions(-) diff --git a/components/public/team-search.tsx b/components/public/team-search.tsx index 6f1e72d..6a10f01 100644 --- a/components/public/team-search.tsx +++ b/components/public/team-search.tsx @@ -146,7 +146,7 @@ function TeamCard({ tabIndex={exporting ? -1 : undefined} aria-label={`เปิดข้อมูลอาวุธ ${member.weapon.name} บน Lunaris`} className={cn( - "relative aspect-square scale-110 overflow-hidden rounded-md bg-muted outline-none sm:col-span-2", + "relative col-span-2 aspect-square scale-110 overflow-hidden rounded-md bg-muted outline-none", rarityGradientClass(member.weapon.rarity), )} > @@ -167,56 +167,63 @@ function TeamCard({ ) : (
)} - {member.artifact ? ( - - {member.artifact.name} - - - - ) : ( -
- )} - {member.secondArtifact ? ( - - {member.secondArtifact.name} - - - - ) : null} +
+ {member.artifact ? ( + + {member.artifact.name} + + + + ) : ( +
+ )} + {member.secondArtifact ? ( + + {member.secondArtifact.name} + + + + ) : null} +