refactor: remove isLocalhost check from MainLayout, update UsagePage styles for improved layout and spacing, and adjust layout.scss for better sidebar toggle appearance

This commit is contained in:
Supra4E8C
2025-12-10 23:49:01 +08:00
parent 841dfa8a61
commit defa633f92
3 changed files with 43 additions and 28 deletions

View File

@@ -63,7 +63,7 @@
}
.sidebar-toggle-header {
padding: $spacing-xs $spacing-sm;
padding: 0;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: $radius-md;
@@ -78,6 +78,7 @@
width: 32px;
height: 32px;
flex-shrink: 0;
line-height: 1;
&:hover {
background: var(--bg-tertiary, var(--border-color));