From bbfb7c5b27a296a6910041bd44993837c091fbf8 Mon Sep 17 00:00:00 2001 From: Jane Manchun Wong Date: Tue, 20 Nov 2018 20:56:56 +0800 Subject: [PATCH] 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 --- src/theme.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/theme.js b/src/theme.js index 44648507f..2e1ad7405 100644 --- a/src/theme.js +++ b/src/theme.js @@ -121,6 +121,9 @@ const sharedStyles = { marginLeft: 'auto', marginRight: 'auto', }, + [media.lessThan('small')]: { + flexDirection: 'column', + }, }, content: { marginTop: 40,