feat : ux update for stygian
CI / Verify (push) Successful in 2m6s
CI / Build immutable images and deploy (push) Successful in 4m37s

This commit is contained in:
2026-10-01 00:57:37 +07:00 Unverified
parent cf23c572aa
commit 9c91561abe
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1091,7 +1091,7 @@ export function StygianEditor({
value={String(position)}
aria-label={`${positionLabel}: ${label}`}
title={label}
className="h-full min-w-0 flex-col justify-start overflow-hidden rounded-none px-2 py-3"
className="h-full min-w-0 flex-col justify-start overflow-hidden rounded-none px-2 py-3 data-active:bg-accent/50 data-active:ring-2 data-active:ring-primary data-active:ring-inset"
>
<StygianBossTab
boss={boss}
+1 -1
View File
@@ -112,7 +112,7 @@ export function StygianGuide({ schedule, catalog }: { schedule: Schedule; catalo
const boss = schedule.bosses.find((candidate) => candidate.level === level && candidate.position === position);
const label = boss?.name ?? `Boss ${position + 1}`;
const positionLabel = ["บน", "กลาง", "ล่าง"][position];
return <TabsTrigger key={position} value={String(position)} aria-label={`${positionLabel}: ${label}`} title={label} className="h-full min-w-0 flex-col justify-start overflow-hidden rounded-none px-2 py-3">
return <TabsTrigger key={position} value={String(position)} aria-label={`${positionLabel}: ${label}`} title={label} className="h-full min-w-0 flex-col justify-start overflow-hidden rounded-none px-2 py-3 data-active:bg-accent/50 data-active:ring-2 data-active:ring-primary data-active:ring-inset">
<StygianBossTab boss={boss} position={position} priority={level === 110} />
</TabsTrigger>;
})}
+1 -1
View File
@@ -127,7 +127,7 @@ export function StygianBossCard({
<header className="text-center">
<h2 className="font-heading text-lg font-semibold">{boss.name}</h2>
<p className="mt-1 text-sm text-muted-foreground">
Level {level} · HP {Math.round(boss.hp).toLocaleString("en-US")}
Level {level} - HP {Math.round(boss.hp).toLocaleString("en-US")}
</p>
</header>
<div className="flex min-w-0 flex-col gap-5">