drop bare value support for translate-{axis}
This commit is contained in:
parent
7179a19517
commit
d90d3bb60c
1 changed files with 0 additions and 4 deletions
|
|
@ -1251,10 +1251,6 @@ export function createUtilities(theme: Theme) {
|
|||
supportsNegative: true,
|
||||
supportsFractions: true,
|
||||
themeKeys: ['--translate', '--spacing'],
|
||||
handleBareValue: ({ value }) => {
|
||||
if (Number.isNaN(Number(value))) return null
|
||||
return `${value}%`
|
||||
},
|
||||
handle,
|
||||
})
|
||||
utilities.static(`translate-${axis}-px`, (candidate) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue