Skip to content

Commit

Permalink
docs(box): Fix Card component content spacing to match Sketch file
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcabrera committed Nov 10, 2017
1 parent bc31d49 commit e308466
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/components/Box/Box.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
```jsx
<Card>
<Box between={3} dangerouslyAddClassName="docs_flex-button">
<Heading level="h1">Our latest and greatest</Heading>
<Paragraph>Everything you would expect, without conditions.</Paragraph>
<Box between={4} dangerouslyAddClassName="docs_flex-button">
<Box between={3}>
<Heading level="h1">Our latest and greatest</Heading>
<Paragraph>Everything you would expect, without conditions.</Paragraph>
</Box>
<ButtonLink href="//telus.com">Learn more</ButtonLink>
</Box>
</Card>
Expand Down
8 changes: 4 additions & 4 deletions src/components/Card/Card.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ Cards will stretch to fill their container. Wrap the card in another element to

```jsx
<Card>
<Box between={3} dangerouslyAddClassName="docs_flex-button">
<Box between={4} dangerouslyAddClassName="docs_flex-button">
<Box between={3}>
<Heading level="h2">Need a hand?</Heading>

<Paragraph>
Ready to order? Have a question? We'll get back to you, with volume discounts available to larger accounts.
</Paragraph>
<ButtonLink href="#">Request sales callback</ButtonLink>
</Box>
<ButtonLink href="#">Request sales callback</ButtonLink>
</Box>
</Card>
```
Expand Down

0 comments on commit e308466

Please sign in to comment.