Fix sidebar always stays left

Signed-off-by: sporocyst <sporocyst.tw@gmail.com>
This commit is contained in:
sporocyst
2025-04-06 23:54:14 +08:00
committed by GitHub
parent a33e2cbd88
commit e469c04125

View File

@@ -49,7 +49,12 @@
border-radius: var(--zen-native-inner-radius);
box-shadow: var(--zen-big-shadow);
overflow: hidden;
&[positionend=""] {
order: 6;
& ~ #sidebar-splitter {
order: 5;
}
}
:root:not([zen-right-side='true']) &[positionend='true'] {
margin-right: var(--zen-element-separation);
}