From 3ceb19648b651f2a5b2f571d066aa895af8f443e Mon Sep 17 00:00:00 2001 From: Arelia Jones <2359538+arelia@users.noreply.github.com> Date: Wed, 22 Feb 2023 13:51:59 -0600 Subject: [PATCH] update default for flex wrap styles (#2388) * update default for flex wrap styles * Create .changeset/perfect-foxes-compete.md --------- Co-authored-by: Jon Rohan --- .changeset/perfect-foxes-compete.md | 5 +++++ docs/content/utilities/flexbox.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/perfect-foxes-compete.md diff --git a/.changeset/perfect-foxes-compete.md b/.changeset/perfect-foxes-compete.md new file mode 100644 index 0000000000..199977a2a5 --- /dev/null +++ b/.changeset/perfect-foxes-compete.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +update default for flex wrap styles diff --git a/docs/content/utilities/flexbox.md b/docs/content/utilities/flexbox.md index cb10788271..dc331eaf3a 100644 --- a/docs/content/utilities/flexbox.md +++ b/docs/content/utilities/flexbox.md @@ -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