articleLayout.container.flexDirection='column' only when media is less than 'small' (#1416)

* Specify articleLayout.container to flex in column direction

* articleLayout.container.flexDirection=column when media less than small

* Comply with eslint rules
This commit is contained in:
Jane Manchun Wong
2018-11-20 20:56:56 +08:00
committed by Dan Abramov
parent e6818c5979
commit bbfb7c5b27

View File

@@ -121,6 +121,9 @@ const sharedStyles = {
marginLeft: 'auto',
marginRight: 'auto',
},
[media.lessThan('small')]: {
flexDirection: 'column',
},
},
content: {
marginTop: 40,