Add transform to sidebars
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user