-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Versions
| Item | Version |
|---|---|
| Elixir | 1.18.2 (OTP 25) |
| Twix | 92f84f5e |
Description
Twix will not override a min-h-{x} class with min-h-auto. It handles overriding with another explicit value (min-h-{y}) just fine.
That may be a little confusing, so here's a simple demo:
import Twix
# Incorrect. Outputs "min-h-20 min-h-auto h-8"
["min-h-20", "min-h-auto h-8"] |> tw() |> IO.inspect()
# Correct. Outputs "min-h-4 h-8"
["min-h-20", "min-h-4 h-8"] |> tw() |> IO.inspect()Expected behaviour
Twix should treat min-h-auto in the same way as min-h-{x}.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels