Use stable one-edge, update logic in RightNav
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
}
|
}
|
||||||
html {
|
html {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
scrollbar-gutter: stable both-edges;
|
scrollbar-gutter: stable;
|
||||||
}
|
}
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
html {
|
html {
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
// @ts-ignore web only -esb
|
// @ts-ignore web only -esb
|
||||||
translateX: 'var(--scrollbar-offset-negative, 0px)',
|
translateX: 'var(--scrollbar-offset, 0px)',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
maxHeight: '100%',
|
maxHeight: '100%',
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@
|
|||||||
}
|
}
|
||||||
html {
|
html {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
scrollbar-gutter: stable both-edges;
|
scrollbar-gutter: stable;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|||||||
Reference in New Issue
Block a user