Skip to content

Commit d82a755

Browse files
committed
Preserve units for zero value properties
1 parent 01e74f7 commit d82a755

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const plugin = postcss.plugin('tailwind', config => {
4141
maxValueLength: false,
4242
trimLeadingZero: true,
4343
trimTrailingZeros: true,
44+
zeroLengthNoUnit: false,
4445
}),
4546
])
4647
})

0 commit comments

Comments
 (0)