fix(shell): drop the sidebar brand divider on macOS

The divider under the brand row sat about 11px below the page header's
bottom border. Two near-parallel lines that miss each other read as a
misalignment, and the divider only existed in the expanded macOS layout.
Separate the brand from the navigation with spacing instead.
This commit is contained in:
Jason committed 2026-10-03 23:29:01 +08:00
1 parent ef071c1148
commit 9f6a758ce5
1 file changed
+2 -2
+2 -2
View File
@@ -125,8 +125,9 @@ function SidebarTopBar({
{...DRAG_REGION_ATTR}
style={DRAG_REGION_STYLE as React.CSSProperties}
/>
{/* 品牌区与导航之间不画分隔线:靠侧栏底色和留白分开,免得和右侧页头下边框近似平行却差 11px */}
<div
className="-mt-[18px] flex h-9 shrink-0 items-center gap-2 pe-2 ps-4"
className="-mt-[18px] mb-2 flex h-9 shrink-0 items-center gap-2 pe-2 ps-4"
{...DRAG_REGION_ATTR}
style={DRAG_REGION_STYLE as React.CSSProperties}
>
@@ -141,7 +142,6 @@ function SidebarTopBar({
</span>
{toggleButton}
</div>
<div className="mx-4 mb-1.5 h-px shrink-0 bg-border" />
</>
);
}