fix(web): improve compact UI readability

This commit is contained in:
dahyeon committed 2026-06-09 03:12:00 -07:00
1 parent 12869a7e9e
commit 5ba68ea134
16 files changed
+483 -357

No files matched your search

+3 -3
View File
@@ -22,10 +22,10 @@ export default function DevAuthSwitcher() {
return (
<div className="fixed right-4 bottom-4 z-50 w-72 border border-base-content/10 bg-base-100/95 backdrop-blur px-3 py-3 shadow-xl">
<div className="text-[10px] font-bold uppercase tracking-wider text-base-content/35">
<div className="text-xs font-bold uppercase tracking-wider text-base-content/35">
Dev Auth
</div>
<div className="mt-2 text-[11px] text-base-content/45">
<div className="mt-2 text-xs text-base-content/45">
X-Auth-User-Id
</div>
<input
@@ -50,7 +50,7 @@ export default function DevAuthSwitcher() {
Clear
</button>
</div>
<div className="mt-2 text-[10px] text-base-content/35 break-all">
<div className="mt-2 text-xs text-base-content/35 break-all">
현재값: {authUserId ?? '없음'}
</div>
</div>
+1 -1
View File
@@ -101,7 +101,7 @@ export function RankBadge({
data-tip={tooltip}
>
<span
className={`inline-flex ${SIZE_CLASSES[size]} shrink-0 items-center justify-center whitespace-nowrap rounded-[3px] border px-1 text-[10px] font-black leading-none ${rankBadgeClass(tier)}`}
className={`inline-flex ${SIZE_CLASSES[size]} shrink-0 items-center justify-center whitespace-nowrap rounded-[3px] border px-1 text-xs font-black leading-none ${rankBadgeClass(tier)}`}
aria-label={tooltip}
>
{formatRankBadge(tier)}
+5 -5
View File
@@ -276,7 +276,7 @@ function TierTooltip({
? ` · ${point.wins}승 ${point.losses}패`
: "";
return (
<div className="border border-base-content/15 bg-base-100 px-3 py-2 text-[11px] shadow-lg">
<div className="border border-base-content/15 bg-base-100 px-3 py-2 text-xs shadow-lg">
<div className="font-bold text-base-content">{formatTierLabel(point)}</div>
<div className="mt-0.5 text-base-content/45">
{new Intl.DateTimeFormat("ko-KR", {
@@ -386,7 +386,7 @@ export default function TierHistoryChart({
const header = (
<div className="flex flex-wrap items-center justify-between gap-2 border-b border-base-content/10 bg-base-200/40 px-4 py-2.5">
<h2 className="text-[11px] font-bold uppercase tracking-wider text-base-content/40">
<h2 className="text-xs font-bold uppercase tracking-wider text-base-content/40">
티어 변동
</h2>
<div className="flex items-center gap-1.5">
@@ -396,7 +396,7 @@ export default function TierHistoryChart({
key={option}
type="button"
onClick={() => setQueue(option)}
className={`h-7 px-2 text-[11px] font-semibold border transition-colors ${
className={`h-7 px-2 text-xs font-semibold border transition-colors ${
activeQueue === option
? "border-primary/30 bg-primary/5 text-primary"
: "border-base-content/10 text-base-content/40 hover:text-base-content/70"
@@ -406,7 +406,7 @@ export default function TierHistoryChart({
</button>
))}
<select
className="h-7 border border-base-content/10 bg-base-100 px-2 text-[11px] text-base-content focus:border-primary/30 focus:outline-none"
className="h-7 border border-base-content/10 bg-base-100 px-2 text-xs text-base-content focus:border-primary/30 focus:outline-none"
value={period}
onChange={(event) => setPeriod(event.target.value as PeriodKey)}
>
@@ -561,7 +561,7 @@ export default function TierHistoryChart({
</ResponsiveContainer>
</div>
{summary && summaryVariant === "footer" && (
<div className="flex flex-wrap items-center gap-x-5 gap-y-1 border-t border-base-content/8 px-4 py-2.5 text-[11px]">
<div className="flex flex-wrap items-center gap-x-5 gap-y-1 border-t border-base-content/8 px-4 py-2.5 text-xs">
<span className="text-base-content/45">
현재{" "}
<span className="font-bold text-base-content/75">