mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
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:
committed by
Dan Abramov
parent
e6818c5979
commit
bbfb7c5b27
@@ -121,6 +121,9 @@ const sharedStyles = {
|
||||
marginLeft: 'auto',
|
||||
marginRight: 'auto',
|
||||
},
|
||||
[media.lessThan('small')]: {
|
||||
flexDirection: 'column',
|
||||
},
|
||||
},
|
||||
content: {
|
||||
marginTop: 40,
|
||||
|
||||
Reference in New Issue
Block a user