Make Move sidebar to right works

Signed-off-by: sporocyst <sporocyst.tw@gmail.com>
This commit is contained in:
sporocyst 2025-05-01 01:44:35 +08:00 committed by GitHub
parent b074bf0690
commit b51af13bb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,12 +15,7 @@
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);
}
@ -29,6 +24,16 @@
margin-left: var(--zen-element-separation);
}
}
& #tabbrowser-tabbox[sidebar-positionend] {
& #sidebar-box {
order: 7 !important;
}
& #sidebar-splitter {
order: 6 !important;
}
}
}
/* Menubar */