Skip to content

Commit 4a521bf

Browse files
authored
Merge pull request #533 from tailwindcss/preserve-zero-units
Preserve units for zero value properties
2 parents 01e74f7 + d82a755 commit 4a521bf

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)