Skip to content

Commit

Permalink
fix: home page mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 30, 2020
1 parent 2c8f24a commit 85c45ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/stories/src/pages/home-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const BoxItem = ({ children, title, action, ...rest }) => (
<Flex sx={{ py: 4, flexDirection: 'column', minHeight: '350px', alignItems: 'center', justifyContent: 'space-between', bg: 'primary', color: 'background' }}>
<Flex sx={{ flexDirection: 'column', alignItems: 'center', maxWidth: '600px' }}>
<Heading as="h1">component-controls</Heading>
<Heading sx={{ py: 3 }} as="h3">
<Heading sx={{ py: 3, textAlign: 'center', px: 1 }} as="h3">
Start documenting your components with <Link sx={{ color: 'background' }} aria-label="create mdx stories" href="/tutorial/mdx-stories">MDX</Link> and <Link sx={{ color: 'background' }} aria-label="create esm stories" href="/tutorial/esmodules-stories">ESM</Link>.
</Heading>
<Text sx={{ py: 1, textAlign: 'center' }}>
Expand All @@ -39,7 +39,7 @@ export const BoxItem = ({ children, title, action, ...rest }) => (

<Divider sx={{ my: 4 }}/>
<Flex sx={{ flexDirection: 'column', alignItems: 'center'}}>
<Heading as="h1">Choose your favorite site generator</Heading>
<Heading as="h1" sx={{ px: 1, textAlign: 'center' }}>Choose your favorite site generator</Heading>
<Grid
sx={{
m: 4,
Expand Down

0 comments on commit 85c45ac

Please sign in to comment.