mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Ensure variants are grouped properly for plugins with order-dependent utilities (#4273)
This commit is contained in:
parent
1c657254ae
commit
425c73feec
@ -62,11 +62,6 @@ export default function () {
|
||||
'.list-item': {
|
||||
display: 'list-item',
|
||||
},
|
||||
},
|
||||
variants('display')
|
||||
)
|
||||
addUtilities(
|
||||
{
|
||||
'.hidden': {
|
||||
display: 'none',
|
||||
},
|
||||
|
||||
@ -11,11 +11,6 @@ export default function () {
|
||||
'font-variant-numeric':
|
||||
'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)',
|
||||
},
|
||||
},
|
||||
variants('fontVariantNumeric')
|
||||
)
|
||||
addUtilities(
|
||||
{
|
||||
'.normal-nums': {
|
||||
'font-variant-numeric': 'normal',
|
||||
},
|
||||
|
||||
@ -7,12 +7,6 @@ export default function () {
|
||||
'text-overflow': 'ellipsis',
|
||||
'white-space': 'nowrap',
|
||||
},
|
||||
},
|
||||
variants('textOverflow')
|
||||
)
|
||||
|
||||
addUtilities(
|
||||
{
|
||||
'.overflow-ellipsis': { 'text-overflow': 'ellipsis' },
|
||||
'.overflow-clip': { 'text-overflow': 'clip' },
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user