Skip to content

Can't find min-w or min-h Tailwind classes #862

@davegomez

Description

@davegomez

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].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions