mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 08:22:24 +00:00
Merge pull request #330 from PR0M3TH3AN/codex/fix-main-body-resizing-on-sidebar-change
Fix main layout width when toggling sidebar
This commit is contained in:
1 file changed
+4
-1
+4
-1
@@ -1799,7 +1799,10 @@ body.sidebar-open #sidebarOverlay {
|
||||
|
||||
#app {
|
||||
margin-left: var(--sidebar-width);
|
||||
transition: margin-left 200ms ease;
|
||||
width: calc(100vw - var(--sidebar-width));
|
||||
max-width: calc(100vw - var(--sidebar-width));
|
||||
box-sizing: border-box;
|
||||
transition: margin-left 200ms ease, width 200ms ease;
|
||||
}
|
||||
|
||||
body.sidebar-collapsed,
|
||||
|
||||
Reference in new issue
Block a user