From df81e313e9e603504d0b389589cff43809d5121a Mon Sep 17 00:00:00 2001 From: MciG-ggg Date: Sat, 15 Aug 2026 10:58:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(nav):=20=E9=A1=B6=E9=83=A8=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E5=BE=80=E4=B8=A4=E8=BE=B9=E6=8B=89=E5=BC=80=E4=B8=80?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/globals.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/styles/globals.css b/src/styles/globals.css index 0df793e..5f2dee5 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -306,6 +306,9 @@ section { position: relative; } .nav-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; + /* Top bar only: sit a bit wider than section .container (--max 1320) + so brand / Mini Camp breathe toward the viewport edges. */ + max-width: 1520px; } .brand { display: flex; align-items: center; gap: 12px; @@ -2068,7 +2071,7 @@ html.has-sidebar { so its pills don't overlap section content near the edge. The sidebar is ~140px wide on a 1440 viewport, so 160px is a safe floor that still leaves plenty of room for the main column. */ - html.has-sidebar .container { + html.has-sidebar .container:not(.nav-top-inner) { padding-right: max(40px, calc(var(--nav-sidebar-w, 140px) + 40px)); } }