From 5ba68ea1342a5c50477587ccc88eb83aeeb3f97f Mon Sep 17 00:00:00 2001 From: dahyeon Date: Tue, 9 Jun 2026 03:12:00 -0700 Subject: [PATCH] fix(web): improve compact UI readability --- apps/web/src/App.tsx | 4 +- apps/web/src/components/DevAuthSwitcher.tsx | 6 +- apps/web/src/components/RankBadge.tsx | 2 +- apps/web/src/components/TierHistoryChart.tsx | 10 +- apps/web/src/index.css | 99 +++++++- apps/web/src/pages/AuctionPage.tsx | 112 ++++----- .../src/pages/CommunityInternalStatsPage.tsx | 44 ++-- apps/web/src/pages/HomePage.tsx | 18 +- .../web/src/pages/InternalMatchDetailPage.tsx | 141 +++++++---- apps/web/src/pages/MatchDetailPage.tsx | 236 +++++++++--------- apps/web/src/pages/MatchTeamProgressPage.tsx | 42 ++-- apps/web/src/pages/UserHistoryPage.tsx | 92 +++---- apps/web/src/pages/admin/LegacyImportPage.tsx | 8 +- .../web/src/pages/admin/LegacyMatchesPage.tsx | 4 +- apps/web/src/pages/admin/MatchAdminPage.tsx | 14 +- .../src/pages/admin/TournamentCodesPage.tsx | 8 +- 16 files changed, 483 insertions(+), 357 deletions(-) diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index b5f4152f..f890209e 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -130,11 +130,11 @@ function App() {
{/* {DEFAULT_COMMUNITY_ID ? ( - + API Live ) : ( - + Set `VITE_DEFAULT_COMMUNITY_ID` )} */} diff --git a/apps/web/src/components/DevAuthSwitcher.tsx b/apps/web/src/components/DevAuthSwitcher.tsx index 29f25143..b631cb1c 100644 --- a/apps/web/src/components/DevAuthSwitcher.tsx +++ b/apps/web/src/components/DevAuthSwitcher.tsx @@ -22,10 +22,10 @@ export default function DevAuthSwitcher() { return (
-
+
Dev Auth
-
+
X-Auth-User-Id
-
+
현재값: {authUserId ?? '없음'}
diff --git a/apps/web/src/components/RankBadge.tsx b/apps/web/src/components/RankBadge.tsx index 3885f2a5..a62bd1df 100644 --- a/apps/web/src/components/RankBadge.tsx +++ b/apps/web/src/components/RankBadge.tsx @@ -101,7 +101,7 @@ export function RankBadge({ data-tip={tooltip} > {formatRankBadge(tier)} diff --git a/apps/web/src/components/TierHistoryChart.tsx b/apps/web/src/components/TierHistoryChart.tsx index 3e3e7f09..220ab749 100644 --- a/apps/web/src/components/TierHistoryChart.tsx +++ b/apps/web/src/components/TierHistoryChart.tsx @@ -276,7 +276,7 @@ function TierTooltip({ ? ` · ${point.wins}승 ${point.losses}패` : ""; return ( -
+
{formatTierLabel(point)}
{new Intl.DateTimeFormat("ko-KR", { @@ -386,7 +386,7 @@ export default function TierHistoryChart({ const header = (
-

+

티어 변동

@@ -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({ ))} -
+
{isFiltered && (