@@ -31,15 +31,14 @@ export const drawerWidth = 240;
31
31
const useStyles = makeStyles ( ( theme ) => ( {
32
32
mainGradient : {
33
33
backgroundImage : 'linear-gradient(135deg, #41108E 0%, rgba(165, 37, 193, 1) 44.76%, #FC9957 100%)' ,
34
- backgroundSize : '100vw 100vh' ,
34
+ backgroundSize : '100% 100vh' ,
35
35
backgroundRepeat : 'no-repeat' ,
36
36
transition : theme . transitions . create ( [ 'margin' , 'width' ] , {
37
37
easing : theme . transitions . easing . easeOut ,
38
38
duration : theme . transitions . duration . enteringScreen
39
39
} )
40
40
} ,
41
41
mainGradientShift : {
42
- width : `calc(100vw - ${ drawerWidth } px)` ,
43
42
transition : theme . transitions . create ( [ 'margin' , 'width' ] , {
44
43
easing : theme . transitions . easing . sharp ,
45
44
duration : theme . transitions . duration . leavingScreen
@@ -101,7 +100,7 @@ const useStyles = makeStyles((theme) => ({
101
100
right : 0 ,
102
101
width : '100%' ,
103
102
backgroundImage : 'linear-gradient(135deg, #41108E 0%, rgba(165, 37, 193, 1) 44.76%, #FC9957 100%)' ,
104
- backgroundSize : '100vw 100vh' ,
103
+ backgroundSize : '100% 100vh' ,
105
104
backgroundRepeat : 'no-repeat' ,
106
105
zIndex : 900
107
106
} ,
0 commit comments