Skip to content

Commit

Permalink
update default for flex wrap styles (#2388)
Browse files Browse the repository at this point in the history
* update default for flex wrap styles

* Create .changeset/perfect-foxes-compete.md

---------

Co-authored-by: Jon Rohan <jonrohan@github.com>
  • Loading branch information
arelia and jonrohan committed Feb 22, 2023
1 parent 55f35e1 commit 3ceb196
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-foxes-compete.md
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

update default for flex wrap styles
4 changes: 2 additions & 2 deletions docs/content/utilities/flexbox.md
Expand Up @@ -141,8 +141,8 @@ You can choose whether flex items are forced into a single line or wrapped onto

| Class | Description |
| --- | --- |
| `.flex-wrap` | Flex items will break onto multiple lines (default) |
| `.flex-nowrap` | Flex items are laid out in a single line, even if they overflow |
| `.flex-wrap` | Flex items will break onto multiple lines |
| `.flex-nowrap` | Flex items are laid out in a single line, even if they overflow (default) |
| `.flex-wrap-reverse` | Behaves the same as wrap but cross-start and cross-end are permuted. |

### `flex-wrap` example
Expand Down

0 comments on commit 3ceb196

Please sign in to comment.