twin.macro
twin.macro copied to clipboard
Can't find min-w or min-h Tailwind classes
Whenever we try to use a min-w
or min-h
class, we get a similar error message saying twin.macro couldn't find the class.
✕ min-h-20 was not found
Try one of these classes:
- min-h-0 > 0px
- min-h-min > min-content
- min-h-max > max-content
- min-h-fit > fit-content
- min-h-full > 100%
Our projects use @emotion/[email protected], and our Tailwind preset config does not change width, height, or any other variation.
It seems that this has been going on for a while already because I couldn't find any code using the classes I'm mentioning. We have always used arbitrary values min-w—[value]
.