fix: keep sidebar stationary when changing pin mode

This commit is contained in:
2026-10-01 12:43:22 +09:00
parent 5c98dbb208
commit ee83fca95b
2 changed files with 39 additions and 5 deletions
@@ -13,13 +13,14 @@
grid-column: 1;
grid-row: 1 / 3;
width: var(--sidebar-width);
transition: width var(--sidebar-motion-duration) var(--sidebar-motion-easing);
/* Reserving layout space is a mode switch, not a panel open/close. */
min-width: 0;
min-height: 0;
overflow: hidden;
}
.sidebar-frame .bevel.sidebar-frame__bevel {
width: 100%;
/* Keep the open panel's width identical in pinned and overlay modes. */
width: var(--sidebar-width);
min-width: 0;
min-height: 0;
}