Skip to content

Commit

Permalink
feat: make auto_cols plugin support arbitrary CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Feb 20, 2023
1 parent 41ed335 commit f7df759
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 @@ -78,7 +78,7 @@ array_map_plugin_arbitrary!(
],
"gridAutoRows"
);
array_map_plugin!(
array_map_plugin_arbitrary!(
auto_cols,
[
("auto", "auto"),
Expand Down
2 changes: 1 addition & 1 deletion crates/tailwind-parse/src/literal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl<'a> Literal<'a> {
Scroll(s) => OptionalAbitraryBox(StdBox::new(move |v, t| plugin::scroll(s, v, t))),
Content(c) => OptionalAbitraryBox(StdBox::new(move |v, t| plugin::content(c, v, t))),

Auto(Auto::Cols) => Required(plugin::auto_cols),
Auto(Auto::Cols) => RequiredArbitrary(plugin::auto_cols),
Auto(Auto::Rows) => RequiredArbitrary(plugin::auto_rows),

// all other plugins
Expand Down

0 comments on commit f7df759

Please sign in to comment.