Skip to content

Commit

Permalink
Adjust flex wrap in UI examples. Fixes #731 (#831)
Browse files Browse the repository at this point in the history
* Adjust flex wrap in UI examples.Fixes #731

* Add orange-turkey-work changeset

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
  • Loading branch information
Josep Martins and ashygee committed Aug 29, 2022
1 parent 4a4219c commit 57f364a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/orange-turkeys-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/octicons': patch
---

Adjust flex wrap in UI examples.Fixes #731
10 changes: 5 additions & 5 deletions docs/src/components/ui-examples-16.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ export default function UIExamples16({icon: Icon}) {
</Timeline.Body>
</Timeline.Item>
</Timeline>
<Flex>
<Button mr={2}>
<Flex flexWrap={'wrap'} sx={{gap: 2}}>
<Button>
<Icon />
<Text ml={2} contentEditable>
Button
</Text>
</Button>
<ButtonPrimary mr={2}>
<ButtonPrimary>
<Icon />
<Text ml={2} contentEditable>
Button
</Text>
</ButtonPrimary>
<ButtonDanger mr={2}>
<ButtonDanger>
<Icon />
<Text ml={2} contentEditable>
Button
</Text>
</ButtonDanger>
<ButtonOutline mr={2}>
<ButtonOutline>
<Icon />
<Text ml={2} contentEditable>
Button
Expand Down

0 comments on commit 57f364a

Please sign in to comment.