tailwindcss/packages
Justin Wong 7e20c3b587
Remove min-w/h-none (#15845)
`none` is not a valid value for `min-width` or `min-height` according to
[the CSS spec](https://www.w3.org/TR/css-sizing-3/#min-size-properties):

> | | |
> | --- | --- |
> | [Value](https://www.w3.org/TR/css-values/#value-defs): | auto \|
[<length-percentage>](https://www.w3.org/TR/css-values-4/#typedef-length-percentage)
\| min-content \| max-content \|
fit-content([<length-percentage>](https://www.w3.org/TR/css-values-4/#typedef-length-percentage))
|

I believe we should be able to remove the `min-w-none` and `min-h-none`
class candidates since they wouldn't have done anything anyway and thus
should not affect backwards compatibility. Indeed, these did not exist
in v3 either:


4f9f603e12/stubs/config.full.js (L674-L684)


4f9f603e12/stubs/config.full.js (L685-L691)

---

Credit to `@i` on Discord for spotting this[^1], fixes #15846

[^1]:
1332680061

---------

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2025-01-25 17:04:55 +00:00
..
@tailwindcss-browser Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-cli Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-node Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-postcss Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-standalone Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-upgrade Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
@tailwindcss-vite Prepare v4.0.0 release (#15693) 2025-01-21 20:58:59 +00:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Remove min-w/h-none (#15845) 2025-01-25 17:04:55 +00:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00