1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix margin on public pages

This commit is contained in:
Bill Thornton 2023-05-13 10:33:27 -04:00
parent 27776d57fc
commit 25ff3b461d

View file

@ -100,10 +100,12 @@ const ExperimentalApp = () => {
easing: theme.transitions.easing.sharp,
duration: theme.transitions.duration.leavingScreen
}),
marginLeft: {
xs: 0,
sm: `-${DRAWER_WIDTH}px`
},
marginLeft: 0,
...(isDrawerAvailable && {
marginLeft: {
sm: `-${DRAWER_WIDTH}px`
}
}),
...(isDrawerActive && {
transition: theme.transitions.create('margin', {
easing: theme.transitions.easing.easeOut,