diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cf05bf19e3e..49fff091e19f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet +### Fixed + +- Remove invalid `min-w/h-none` utilities ([#15845](https://github.com/tailwindlabs/tailwindcss/pull/15845)) ## [4.0.0] - 2025-01-21 + ## [4.0.0-beta.10] - 2025-01-21 ### Added diff --git a/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap b/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap index 3f95c9fafcb1..203e52712f55 100644 --- a/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap +++ b/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap @@ -4719,7 +4719,6 @@ exports[`getClassList 1`] = ` "min-h-lvw", "min-h-max", "min-h-min", - "min-h-none", "min-h-px", "min-h-screen", "min-h-svh", @@ -4767,7 +4766,6 @@ exports[`getClassList 1`] = ` "min-w-lvw", "min-w-max", "min-w-min", - "min-w-none", "min-w-px", "min-w-screen", "min-w-svh", diff --git a/packages/tailwindcss/src/utilities.ts b/packages/tailwindcss/src/utilities.ts index 8de82f4cbbad..99c8b4282a40 100644 --- a/packages/tailwindcss/src/utilities.ts +++ b/packages/tailwindcss/src/utilities.ts @@ -896,9 +896,7 @@ export function createUtilities(theme: Theme) { staticUtility(`min-h-screen`, [['min-height', '100vh']]) staticUtility(`max-h-screen`, [['max-height', '100vh']]) - staticUtility(`min-w-none`, [['min-width', 'none']]) staticUtility(`max-w-none`, [['max-width', 'none']]) - staticUtility(`min-h-none`, [['min-height', 'none']]) staticUtility(`max-h-none`, [['max-height', 'none']]) spacingUtility(