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

@@ -61,7 +61,7 @@ function JobCard({
<div className="border border-base-content/10 bg-base-100 p-4">
<div className="flex flex-col sm:flex-row sm:items-start sm:justify-between gap-3">
<div>
<div className="text-[11px] font-mono text-base-content/35">
<div className="text-xs font-mono text-base-content/35">
{job.jobId}
</div>
<div className="mt-1 flex flex-wrap items-center gap-2">
@@ -92,7 +92,7 @@ function JobCard({
style={{ width: `${progress(job)}%` }}
/>
</div>
<div className="mt-2 flex flex-wrap justify-between gap-2 text-[11px] text-base-content/35">
<div className="mt-2 flex flex-wrap justify-between gap-2 text-xs text-base-content/35">
<span>
{formatDate(job.windowStart)} ~ {formatDate(job.windowEnd)}
</span>
@@ -306,7 +306,7 @@ export default function LegacyImportPage() {
<section className="border border-base-content/10 bg-base-100 overflow-hidden mb-6">
<div className="px-4 py-3 border-b border-base-content/10">
<h2 className="text-sm font-bold">멤버별 윈도우</h2>
<p className="mt-1 text-[11px] text-base-content/35">
<p className="mt-1 text-xs text-base-content/35">
기본 시작일은 2024-05-01이며, 필요하면 멤버별 시작/종료 시간을 조정할 수 있습니다.
비활성 멤버는 종료일이 마지막 업데이트 시각으로 잡힙니다.
</p>
@@ -314,7 +314,7 @@ export default function LegacyImportPage() {
<div className="overflow-x-auto">
<table className="w-full min-w-[900px] text-left">
<thead>
<tr className="bg-base-200/40 border-b border-base-content/10 text-[11px] uppercase tracking-wider text-base-content/35">
<tr className="bg-base-200/40 border-b border-base-content/10 text-xs uppercase tracking-wider text-base-content/35">
<th className="px-3 py-2">멤버</th>
<th className="px-3 py-2">Riot ID</th>
<th className="px-3 py-2">상태</th>
@@ -161,7 +161,7 @@ export default function LegacyMatchesPage() {
<div className="overflow-x-auto">
<table className="w-full min-w-[900px] text-left">
<thead>
<tr className="bg-base-200/40 border-b border-base-content/10 text-[11px] uppercase tracking-wider text-base-content/35">
<tr className="bg-base-200/40 border-b border-base-content/10 text-xs uppercase tracking-wider text-base-content/35">
<th className="px-3 py-2 w-8">
<input
type="checkbox"
@@ -218,7 +218,7 @@ export default function LegacyMatchesPage() {
<td className="px-3 py-2 text-right">
<button
type="button"
className="text-[11px] px-2 py-1 border border-red-500/20 text-red-400 hover:bg-red-500/10"
className="text-xs px-2 py-1 border border-red-500/20 text-red-400 hover:bg-red-500/10"
disabled={deleteMutation.isPending}
onClick={() => {
if (!window.confirm('이 매치를 삭제할까요?')) return;
+7 -7
View File
@@ -37,7 +37,7 @@ const GAME_MODE_LABEL: Record<MatchGameMode, string> = {
function RequiredBadge() {
return (
<span className="ml-1 inline-flex items-center border border-primary/20 bg-primary/5 px-1.5 py-0.5 text-[10px] font-bold text-primary">
<span className="ml-1 inline-flex items-center border border-primary/20 bg-primary/5 px-1.5 py-0.5 text-xs font-bold text-primary">
필수
</span>
);
@@ -267,7 +267,7 @@ export default function MatchAdminPage() {
</label>
<label className="text-xs text-base-content/45 md:col-span-2">
설명
<span className="ml-1 text-[10px] text-base-content/25">선택</span>
<span className="ml-1 text-xs text-base-content/25">선택</span>
<textarea
value={form.description}
onChange={(event) => setForm((current) => ({ ...current, description: event.target.value }))}
@@ -319,7 +319,7 @@ export default function MatchAdminPage() {
<option key={value} value={value}>{label}</option>
))}
</select>
<span className="mt-1 block text-[10px] text-amber-500/80">
<span className="mt-1 block text-xs text-amber-500/80">
현재 경매/코드 연결은 페어 방식 기준으로 동작합니다.
</span>
</label>
@@ -377,7 +377,7 @@ export default function MatchAdminPage() {
<div className="overflow-x-auto">
<table className="w-full min-w-[900px] text-left">
<thead>
<tr className="bg-base-200/40 border-b border-base-content/10 text-[11px] uppercase tracking-wider text-base-content/35">
<tr className="bg-base-200/40 border-b border-base-content/10 text-xs uppercase tracking-wider text-base-content/35">
<th className="px-3 py-2">시간</th>
<th className="px-3 py-2">내전</th>
<th className="px-3 py-2">상태</th>
@@ -396,7 +396,7 @@ export default function MatchAdminPage() {
<Link to={`/match/${match._id}`} className="text-sm font-bold hover:text-primary">
{match.title}
</Link>
<div className="mt-0.5 text-[11px] text-base-content/30">
<div className="mt-0.5 text-xs text-base-content/30">
{match.description || '-'}
</div>
</td>
@@ -411,14 +411,14 @@ export default function MatchAdminPage() {
<div className="inline-flex gap-2">
<button
type="button"
className="text-[11px] px-2 py-1 border border-base-content/10 text-base-content/50 hover:text-primary"
className="text-xs px-2 py-1 border border-base-content/10 text-base-content/50 hover:text-primary"
onClick={() => openEdit(match)}
>
수정
</button>
<button
type="button"
className="text-[11px] px-2 py-1 border border-red-500/20 text-red-400 hover:bg-red-500/10"
className="text-xs px-2 py-1 border border-red-500/20 text-red-400 hover:bg-red-500/10"
disabled={deleteMutation.isPending}
onClick={() => {
if (!window.confirm('이 내전을 삭제할까요?')) return;
@@ -200,7 +200,7 @@ export default function TournamentCodesPage() {
<section className="grid sm:grid-cols-5 gap-3 mb-6">
{STATES.map((state) => (
<div key={state} className="border border-base-content/10 bg-base-100 p-4">
<div className="text-[10px] uppercase tracking-wider text-base-content/30">
<div className="text-xs uppercase tracking-wider text-base-content/30">
{state}
</div>
<div className="mt-2 text-2xl font-black tabular-nums">
@@ -273,7 +273,7 @@ export default function TournamentCodesPage() {
<div className="overflow-x-auto">
<table className="w-full min-w-[900px] text-left">
<thead>
<tr className="bg-base-200/40 border-b border-base-content/10 text-[11px] uppercase tracking-wider text-base-content/35">
<tr className="bg-base-200/40 border-b border-base-content/10 text-xs uppercase tracking-wider text-base-content/35">
<th className="px-3 py-2">코드</th>
<th className="px-3 py-2">상태</th>
<th className="px-3 py-2">만료</th>
@@ -309,7 +309,7 @@ export default function TournamentCodesPage() {
{(code.state === 'released' || code.state === 'reserved') && (
<button
type="button"
className="text-[11px] px-2 py-1 border border-base-content/10 text-base-content/50 hover:text-primary"
className="text-xs px-2 py-1 border border-base-content/10 text-base-content/50 hover:text-primary"
onClick={() =>
restoreMutation.mutate(code._id, {
onSuccess: invalidate,
@@ -322,7 +322,7 @@ export default function TournamentCodesPage() {
{code.state === 'available' && (
<button
type="button"
className="text-[11px] px-2 py-1 border border-red-500/20 text-red-400"
className="text-xs px-2 py-1 border border-red-500/20 text-red-400"
onClick={() =>
deleteMutation.mutate(code._id, {
onSuccess: invalidate,