Skip to content

Commit

Permalink
Ensure variants are grouped properly for plugins with order-dependent…
Browse files Browse the repository at this point in the history
… utilities (#4273)
  • Loading branch information
adamwathan committed May 7, 2021
1 parent e399c5f commit bd84d2f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
5 changes: 0 additions & 5 deletions src/plugins/display.js
Expand Up @@ -62,11 +62,6 @@ export default function () {
'.list-item': {
display: 'list-item',
},
},
variants('display')
)
addUtilities(
{
'.hidden': {
display: 'none',
},
Expand Down
5 changes: 0 additions & 5 deletions src/plugins/fontVariantNumeric.js
Expand Up @@ -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',
},
Expand Down
6 changes: 0 additions & 6 deletions src/plugins/textOverflow.js
Expand Up @@ -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' },
},
Expand Down

0 comments on commit bd84d2f

Please sign in to comment.