We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fit-content
fit - content
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What version of Tailwind CSS are you using?
For example: v4.1.8
What build tool (or framework if it abstracts the build tool) are you using?
Tailwind Play
Reproduction URL
https://play.tailwindcss.com/kbBgEMHTsM
Describe your issue
<div class="min-h-[min(fit-content,calc(100dvh-4rem))]"></div>
The expected result would be:
.min-h-\[min\(fit-content\,calc\(100dvh-4rem\)\)\] { min-height: min(fit-content, calc(100dvh - 4rem)); }
Instead - since it's inside a min() function - every hyphen gets surrounded by spaces:
min()
.min-h-\[min\(fit-content\,calc\(100dvh-4rem\)\)\] { min-height: min(fit - content, calc(100dvh - 4rem)); }
The text was updated successfully, but these errors were encountered:
tailwindcss/packages/tailwindcss/src/utils/math-operators.ts
Lines 110 to 136 in f425720
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What version of Tailwind CSS are you using?
For example: v4.1.8
What build tool (or framework if it abstracts the build tool) are you using?
Tailwind Play
Reproduction URL
https://play.tailwindcss.com/kbBgEMHTsM
Describe your issue
The expected result would be:
Instead - since it's inside a
min()
function - every hyphen gets surrounded by spaces:The text was updated successfully, but these errors were encountered: