From a7decf86ec17d2aa1d0904bdf273621099464510 Mon Sep 17 00:00:00 2001 From: wonder Date: Sun, 24 May 2026 21:17:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(ux):=20=E4=BA=A4=E4=BA=92=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E6=82=AC=E6=B5=AE/=E8=81=9A=E7=84=A6/=E6=8C=89?= =?UTF-8?q?=E5=8E=8B=E7=8A=B6=E6=80=81=E5=A2=9E=E5=BC=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 表格行悬浮高亮、StyleSelector 药丸按钮键盘焦点环。 --- frontend/src/components/StyleSelector.module.css | 5 +++++ frontend/src/pages/ProjectPage.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/StyleSelector.module.css b/frontend/src/components/StyleSelector.module.css index c14b278..0663bc0 100644 --- a/frontend/src/components/StyleSelector.module.css +++ b/frontend/src/components/StyleSelector.module.css @@ -50,6 +50,11 @@ color: #fff; } +.pill:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; +} + /* compact 模式 */ .compact .category { flex-direction: row; diff --git a/frontend/src/pages/ProjectPage.tsx b/frontend/src/pages/ProjectPage.tsx index df40981..137ecb7 100644 --- a/frontend/src/pages/ProjectPage.tsx +++ b/frontend/src/pages/ProjectPage.tsx @@ -112,7 +112,7 @@ export default function ProjectPage() { {tasks.map(task => { const statusInfo = STATUS_LABELS[task.status] ?? STATUS_LABELS.pending return ( - + {task.prompt} {task.assetType} {statusInfo.label}