@@ -35,7 +35,7 @@ const styles = theme => ({
35
35
main : {
36
36
paddingTop : '0px' ,
37
37
display : 'flex' ,
38
- transition : theme . transitions . create ( [ 'margin' ] , {
38
+ transition : theme . transitions . create ( [ 'margin' , 'width' ] , {
39
39
easing : theme . transitions . easing . sharp ,
40
40
duration : theme . transitions . duration . leavingScreen ,
41
41
} ) ,
@@ -56,23 +56,27 @@ const styles = theme => ({
56
56
} ,
57
57
[ theme . breakpoints . up ( 'sm' ) ] : {
58
58
mainFixedAppBar : {
59
- marginTop : `${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ] . minHeight } px` ,
59
+ marginTop : `${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ]
60
+ . minHeight } px`,
60
61
} ,
61
62
mainFixedTwoRowAppBar : {
62
- marginTop : `${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ] . minHeight * 2 } px` ,
63
+ marginTop : `${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ] . minHeight *
64
+ 2 } px`,
63
65
} ,
64
66
mainGrow : {
65
- height : `calc(100vh - ${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ] . minHeight } px)` ,
67
+ height : `calc(100vh - ${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ]
68
+ . minHeight } px)`,
66
69
} ,
67
70
mainGrowTwoRowAppBar : {
68
- height : `calc(100vh - ${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ] . minHeight * 2 } px)` ,
71
+ height : `calc(100vh - ${ theme . mixins . toolbar [ theme . breakpoints . up ( 'sm' ) ]
72
+ . minHeight * 2 } px)`,
69
73
} ,
70
74
} ,
71
75
mainStickyFooter : {
72
76
flex : 1 ,
73
77
} ,
74
78
mainShift : {
75
- transition : theme . transitions . create ( [ 'margin' ] , {
79
+ transition : theme . transitions . create ( [ 'margin' , 'width' ] , {
76
80
easing : theme . transitions . easing . easeOut ,
77
81
duration : theme . transitions . duration . enteringScreen ,
78
82
} ) ,
0 commit comments