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}.
Versions
92f84f5eDescription
Twix will not override a
min-h-{x}class withmin-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:
Expected behaviour
Twix should treat
min-h-autoin the same way asmin-h-{x}.