1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 07:03:35 +03:00

update default for flex wrap styles (#2388)

* update default for flex wrap styles

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

---------

Co-authored-by: Jon Rohan <jonrohan@github.com>
This commit is contained in:
Arelia Jones 2023-02-22 13:51:59 -06:00 committed by GitHub
parent 55f35e1d0f
commit 3ceb19648b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
update default for flex wrap styles

View File

@ -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