Use stable one-edge, update logic in RightNav

This commit is contained in:
Eric Bailey
2024-12-03 16:49:23 -06:00
parent f8f6d213a3
commit 415e3b9501
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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
View File
@@ -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) {