Add transform to sidebars

This commit is contained in:
Eric Bailey
2024-12-04 11:41:11 -06:00
parent b2143cd5b4
commit 251da0be52
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -490,6 +490,10 @@ const styles = StyleSheet.create({
{
translateX: '-100%',
},
{
// @ts-ignore web only -esb
translateX: 'calc(-1 * var(--removed-body-scroll-bar-size, 0px) / 2)',
},
],
width: 240,
// @ts-ignore web only
+4
View File
@@ -127,6 +127,10 @@ const styles = StyleSheet.create({
{
translateX: 300,
},
{
// @ts-ignore web only -esb
translateX: 'calc(-1 * var(--removed-body-scroll-bar-size, 0px) / 2)',
},
],
maxHeight: '100%',
overflowY: 'auto',