Skip to content

Commit

Permalink
feat: add whitespace-break-spaces support
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed May 22, 2023
1 parent 5b0ed0b commit a5b122f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/tailwind-parse/src/eval/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,7 @@ pub fn white_space(
Whitespace::Pre => [("whiteSpace", "pre")],
Whitespace::PreLine => [("whiteSpace", "pre-line")],
Whitespace::PreWrap => [("whiteSpace", "pre-wrap")],
Whitespace::BreakSpaces => [("whiteSpace", "break-spaces")],
};
Ok(to_lit(&rule))
}
Expand Down
1 change: 1 addition & 0 deletions crates/tailwind-parse/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ mod plugin {
Pre,
PreLine,
PreWrap,
BreakSpaces,
}

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

0 comments on commit a5b122f

Please sign in to comment.