From f9ebdb6327655a67caa2db2c99c78f3a9664c378 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sat, 21 Apr 2018 11:50:39 -0700 Subject: [PATCH] Documentation layout fixes --- website/storybook/3-demos/TicTacToe/TicTacToe.js | 1 - website/storybook/ui-explorer/UIExplorer.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/storybook/3-demos/TicTacToe/TicTacToe.js b/website/storybook/3-demos/TicTacToe/TicTacToe.js index 0a69c82f..2b75e64c 100644 --- a/website/storybook/3-demos/TicTacToe/TicTacToe.js +++ b/website/storybook/3-demos/TicTacToe/TicTacToe.js @@ -260,7 +260,6 @@ const styles = StyleSheet.create({ borderRadius: 5, backgroundColor: '#7b8994', margin: 5, - flex: 1, justifyContent: 'center', alignItems: 'center' }, diff --git a/website/storybook/ui-explorer/UIExplorer.js b/website/storybook/ui-explorer/UIExplorer.js index 8d100983..1da7904f 100644 --- a/website/storybook/ui-explorer/UIExplorer.js +++ b/website/storybook/ui-explorer/UIExplorer.js @@ -41,7 +41,8 @@ const UIExplorer = ({ children, description, sections, title, url }) => ( const styles = StyleSheet.create({ root: { padding: '1rem', - flex: 1 + flex: 1, + flexBasis: 'auto' }, divider: { height: '1.3125rem'