Merge pull request #1210 from lucamzanon/fix/mv-collapsed-rail

fix(mountain-view): let the collapsed rail fill its 72px column
This commit is contained in:
Linus Rath
2026-10-11 21:09:30 +02:00
committed by GitHub
+3 -1
View File
@@ -1258,7 +1258,9 @@ export function Sidebar({
"relative flex flex-col h-full border-e transition-all duration-300 overflow-hidden",
"bg-secondary border-border",
"max-lg:w-full",
isCollapsed ? "lg:w-12" : "lg:w-full",
// Mountain View's collapsed column is 72px (--mv-rail-w), wide enough
// for its round compose button; the default layout's rail is 48px.
isCollapsed && !mvShell ? "lg:w-12" : "lg:w-full",
// Floats out of the rail's own column rather than widening it, so the
// message list underneath never moves while the pointer passes over.
// Width comes from --mv-rail-peek-w, keyed on data-mv-rail-peek.