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.
1 parent 531201b commit 61dbffdCopy full SHA for 61dbffd
packages/tailwindcss/src/utilities.ts
@@ -433,12 +433,9 @@ export function createUtilities(theme: Theme) {
433
if (!value?.includes('/') && candidate.modifier) return
434
}
435
436
- if (value === null && !negative && desc.staticValues) {
+ if (value === null && !negative && desc.staticValues && !candidate.modifier) {
437
let fallback = desc.staticValues[candidate.value.value]
438
- if (fallback) {
439
- if (candidate.modifier) return
440
- return fallback
441
- }
+ if (fallback) return fallback
442
443
444
0 commit comments