Skip to content

Commit

Permalink
fix: rename flex-nowrap
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Feb 20, 2023
1 parent ca48c18 commit 1db8d6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/tailwind-parse/src/eval/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ pub fn flex<'a>(
(Some(Flex::ColReverse), _) => [("flexDirection", "column-reverse")],
(Some(Flex::Wrap), _) => [("flexWrap", "wrap")],
(Some(Flex::WrapReverse), _) => [("flexWrap", "wrap-reverse")],
(Some(Flex::NoWrap), _) => [("flexWrap", "nowrap")],
(Some(Flex::Nowrap), _) => [("flexWrap", "nowrap")],
(None, None) => [("display", "flex")],
(Some(Flex::Grow), v) => return grow(v, theme),
(Some(Flex::Shrink), v) => return shrink(v, theme),
Expand Down
2 changes: 1 addition & 1 deletion crates/tailwind-parse/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ mod plugin {
ColReverse,
Wrap,
WrapReverse,
NoWrap,
Nowrap,
}

#[derive(Copy, Clone, Eq, PartialEq, Debug)]
Expand Down

0 comments on commit 1db8d6d

Please sign in to comment.