diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index 3ff29cb..7a2f211 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -90,11 +90,10 @@ function ThemeToggle() { return ( ) } @@ -628,27 +627,29 @@ export function Layout() { )} -
- - - cn( - 'flex items-center justify-between gap-3 px-3 py-2 rounded-btn text-sm transition-colors duration-150 ease-smooth', - isActive - ? 'bg-elevated text-foreground font-medium' - : 'text-foreground/80 hover:bg-elevated hover:text-foreground', - ) - } - > - - - 设置 - - - {version ?? ''} - - +
+
+ + + cn( + 'flex flex-1 items-center justify-between gap-3 px-3 py-2 rounded-btn text-sm transition-colors duration-150 ease-smooth', + isActive + ? 'bg-elevated text-foreground font-medium' + : 'text-foreground/80 hover:bg-elevated hover:text-foreground', + ) + } + > + + + 设置 + + + {version ?? ''} + + +