From 91c5d7b19fc43fd915d38e871fef7693a2904e5d Mon Sep 17 00:00:00 2001 From: PathGao Date: Thu, 30 Jul 2026 14:48:03 +0800 Subject: [PATCH] style(ui): preserve sidebar header spacing Keep the original title alignment while fitting the pin with the existing header actions. --- frontend/src/layouts/AppSidebar.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/src/layouts/AppSidebar.css b/frontend/src/layouts/AppSidebar.css index 914c4afd0..392b5b6a3 100644 --- a/frontend/src/layouts/AppSidebar.css +++ b/frontend/src/layouts/AppSidebar.css @@ -34,9 +34,9 @@ display: flex; align-items: center; justify-content: space-between; - gap: 4px; + gap: 8px; height: 58px; - padding: 0 12px 0 16px; + padding: 0 16px 0 24px; border-bottom: 1px solid var(--ant-color-border-secondary); user-select: none; white-space: nowrap; @@ -57,6 +57,14 @@ flex-shrink: 0; } +.brand-actions .sidebar-pin, +.brand-actions .sidebar-docs, +.brand-actions .sidebar-donate, +.brand-actions .sidebar-theme-cycle { + width: 26px; + height: 26px; +} + .sidebar-donate { background: transparent; border: none;