Skip to content

Commit ffbcd26

Browse files
committed
remove hardcoded -translate-z-px and translate-z-px
These are already covered by the `translate` functional utility.
1 parent 473f9a4 commit ffbcd26

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/tailwindcss/src/utilities.ts

-10
Original file line numberDiff line numberDiff line change
@@ -1230,16 +1230,6 @@ export function createUtilities(theme: Theme) {
12301230
supportsNegative: true,
12311231
},
12321232
)
1233-
staticUtility(`-translate-z-px`, [
1234-
translateProperties,
1235-
[`--tw-translate-z`, '-1px'],
1236-
['translate', 'var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)'],
1237-
])
1238-
staticUtility(`translate-z-px`, [
1239-
translateProperties,
1240-
[`--tw-translate-z`, '1px'],
1241-
['translate', 'var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)'],
1242-
])
12431233

12441234
staticUtility('translate-3d', [
12451235
translateProperties,

0 commit comments

Comments
 (0)