We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2319af commit 4eea97bCopy full SHA for 4eea97b
src/components/Layout/styles.js
@@ -23,6 +23,11 @@ const styles = theme => ({
23
main: {
24
paddingTop: '0px',
25
display: 'flex',
26
+ transition: theme.transitions.create(['margin'], {
27
+ easing: theme.transitions.easing.sharp,
28
+ duration: theme.transitions.duration.leavingScreen,
29
+ }),
30
+ backgroundColor: 'red',
31
},
32
mainFixedAppBar: {
33
marginTop: '64px',
@@ -33,7 +38,7 @@ const styles = theme => ({
38
mainShift: {
34
39
marginLeft: drawerWidth,
35
40
width: `calc(100% - ${drawerWidth}px)`,
36
- transition: theme.transitions.create('margin', {
41
37
42
easing: theme.transitions.easing.easeOut,
43
duration: theme.transitions.duration.enteringScreen,
44
}),
0 commit comments