From 23b4628c81c00056e2e9d845aa91576f411abbb7 Mon Sep 17 00:00:00 2001 From: MasterChiefCN <49179444+MasterChiefCN@users.noreply.github.com> Date: Thu, 27 Aug 2026 10:53:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(home):=20=E9=A6=96=E9=A1=B5=20-=20=E5=AF=B9?= =?UTF-8?q?=E9=BD=90=E5=BC=80=E5=A7=8B=E6=96=B9=E5=BC=8F=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=85=A5=E5=8F=A3=20(#328)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/home/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/home/index.tsx b/web/src/pages/home/index.tsx index 8cd3f6302..3bcdc9605 100644 --- a/web/src/pages/home/index.tsx +++ b/web/src/pages/home/index.tsx @@ -259,7 +259,7 @@ function RecentProjectRow({ summary, divided }: { summary: ProjectSummary; divid function StartMode({ icon, title, description, action, href, onClick }: { icon: ReactNode; title: string; description: string; action: string; href?: string; onClick?: () => void }) { const content = <>{icon}{title}{description}{action} →; - const className = "grid grid-cols-[20px_minmax(0,1fr)_auto] gap-3 py-4 text-left hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground/20"; + const className = "grid w-full grid-cols-[20px_minmax(0,1fr)_auto] gap-3 py-4 text-left hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-foreground/20"; return href ? {content} : ; }