Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Commit 4a74bdb

Browse files
committed
fix: content fills full width, remove empty right space
1 parent 696f232 commit 4a74bdb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎admin/style.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:1
9393
.sidebar-footer button svg{width:15px;height:15px}
9494

9595
/* ── Main Content ─────────────────────────────────────────── */
96-
.main{margin-left:240px;height:100vh;overflow-y:auto;padding:0 32px 32px;background:var(--bg)}
96+
.main{margin-left:240px;height:100vh;overflow-y:auto;padding:0 32px 32px;background:var(--bg);min-width:0}
9797

9898
/* ── Top Bar ──────────────────────────────────────────────── */
99-
.topbar{display:flex;align-items:center;justify-content:space-between;padding:20px 0 24px;position:sticky;top:0;background:var(--bg);z-index:5;border-bottom:1px solid var(--border);margin-bottom:24px}
99+
.topbar{display:flex;align-items:center;justify-content:space-between;padding:20px 0 24px;position:sticky;top:0;background:var(--bg);z-index:5;border-bottom:1px solid var(--border);margin-bottom:24px;width:100%}
100100
.topbar h2{font-size:22px;font-weight:600;letter-spacing:-.3px}
101101
.topbar-right{display:flex;align-items:center;gap:16px}
102102
.topbar-time{font-family:var(--mono);font-size:12px;color:var(--text2);background:var(--surface);padding:6px 14px;border-radius:20px;border:1px solid var(--border)}
@@ -146,7 +146,7 @@ body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:1
146146
canvas{width:100%!important;height:100%!important}
147147

148148
/* ── Pages ────────────────────────────────────────────────── */
149-
.page{display:none;animation:fadeIn .3s ease}
149+
.page{display:none;animation:fadeIn .3s ease;width:100%}
150150
.page.active{display:block}
151151
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
152152

0 commit comments

Comments
 (0)