mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-10 08:32:33 +00:00
Make Move sidebar to right works
Signed-off-by: sporocyst <sporocyst.tw@gmail.com>
This commit is contained in:
@@ -15,12 +15,7 @@
|
|||||||
border-radius: var(--zen-native-inner-radius);
|
border-radius: var(--zen-native-inner-radius);
|
||||||
box-shadow: var(--zen-big-shadow);
|
box-shadow: var(--zen-big-shadow);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
&[positionend=''] {
|
|
||||||
order: 6;
|
|
||||||
& ~ #sidebar-splitter {
|
|
||||||
order: 5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
:root:not([zen-right-side='true']) &[positionend='true'] {
|
:root:not([zen-right-side='true']) &[positionend='true'] {
|
||||||
margin-right: var(--zen-element-separation);
|
margin-right: var(--zen-element-separation);
|
||||||
}
|
}
|
||||||
@@ -29,6 +24,16 @@
|
|||||||
margin-left: var(--zen-element-separation);
|
margin-left: var(--zen-element-separation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& #tabbrowser-tabbox[sidebar-positionend] {
|
||||||
|
& #sidebar-box {
|
||||||
|
order: 7 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
& #sidebar-splitter {
|
||||||
|
order: 6 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Menubar */
|
/* Menubar */
|
||||||
|
|||||||
Reference in New Issue
Block a user