fix(ui): optimize mobile layout for header and settings page

This commit is contained in:
Supra4E8C
2025-12-15 18:53:03 +08:00
parent a993299cb5
commit 8d606aa456
4 changed files with 58 additions and 17 deletions

View File

@@ -300,9 +300,6 @@ export function MainLayout() {
<span className="brand-full">{fullBrandName}</span>
<span className="brand-abbr">{abbrBrandName}</span>
</div>
<Button className="mobile-menu-btn" variant="ghost" size="sm" onClick={() => setSidebarOpen((prev) => !prev)}>
{headerIcons.menu}
</Button>
</div>
<div className="right">
@@ -320,6 +317,9 @@ export function MainLayout() {
</div>
<div className="header-actions">
<Button className="mobile-menu-btn" variant="ghost" size="sm" onClick={() => setSidebarOpen((prev) => !prev)}>
{headerIcons.menu}
</Button>
<Button variant="ghost" size="sm" onClick={handleRefreshAll} title={t('header.refresh_all')}>
{headerIcons.refresh}
</Button>