免费与菜单提示文字

This commit is contained in:
2026-04-21 16:06:42 +08:00
parent 27e694ee0d
commit a0b0956677
3 changed files with 17 additions and 7 deletions

View File

@@ -103,9 +103,19 @@ export function Header() {
<div className="flex-auto flex items-center gap-2">
<Button
theme="ghost"
className="w-9 h-9 ml-4 md:ml-0"
className="h-9 ml-4 md:ml-0"
onClick={toggleNavbar}>
{navbar ? <PanelLeftCloseIcon/> : <PanelLeftOpenIcon/>}
{navbar ? (
<>
<PanelLeftCloseIcon/>
<span className="text-foreground/90"></span>
</>
) : (
<>
<PanelLeftOpenIcon/>
<span className="text-foreground/90"></span>
</>
)}
</Button>
<span className="max-md:hidden"></span>
<div className="max-md:hidden h-5 w-px bg-gray-300 mx-2"/>