Skip to content

Commit

Permalink
[Card] Custom footer actions example should be right aligned (#2603)
Browse files Browse the repository at this point in the history
* Card custom footer example should be right aligned
  • Loading branch information
LauraAubin authored Jan 8, 2020
1 parent bd214b6 commit 48c28a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

### Documentation

- Updated `Card` with custom footer actions example to be right-aligned ([#2603](https://github.com/Shopify/polaris-react/pull/2603))

### Development workflow

### Dependency upgrades
Expand Down
10 changes: 6 additions & 4 deletions src/components/Card/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,12 @@ Use to present actionable content that is optional or not the primary purpose of
to your account. A special code will be required each time you log in,
ensuring only you can access your account.
</p>
<ButtonGroup>
<Button>Enable two-step authentication</Button>
<Button plain>Learn more</Button>
</ButtonGroup>
<Stack distribution="trailing">
<ButtonGroup>
<Button>Enable two-step authentication</Button>
<Button plain>Learn more</Button>
</ButtonGroup>
</Stack>
</Stack>
</Card.Section>
</Card>
Expand Down

0 comments on commit 48c28a7

Please sign in to comment.