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:
parent
27776d57fc
commit
25ff3b461d
1 changed files with 6 additions and 4 deletions
|
@ -100,10 +100,12 @@ const ExperimentalApp = () => {
|
||||||
easing: theme.transitions.easing.sharp,
|
easing: theme.transitions.easing.sharp,
|
||||||
duration: theme.transitions.duration.leavingScreen
|
duration: theme.transitions.duration.leavingScreen
|
||||||
}),
|
}),
|
||||||
marginLeft: {
|
marginLeft: 0,
|
||||||
xs: 0,
|
...(isDrawerAvailable && {
|
||||||
sm: `-${DRAWER_WIDTH}px`
|
marginLeft: {
|
||||||
},
|
sm: `-${DRAWER_WIDTH}px`
|
||||||
|
}
|
||||||
|
}),
|
||||||
...(isDrawerActive && {
|
...(isDrawerActive && {
|
||||||
transition: theme.transitions.create('margin', {
|
transition: theme.transitions.create('margin', {
|
||||||
easing: theme.transitions.easing.easeOut,
|
easing: theme.transitions.easing.easeOut,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue