Skip to content

Commit 3de0c48

Browse files
committed
Don't mix unitless values with units in the same scale
Resolves an issue where `ring-offset-0` didn't actually work because `calc(0 * 1)` fails to compute, need a unit.
1 parent e701c81 commit 3de0c48

6 files changed

+4260
-1884
lines changed

__tests__/customConfig.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ test('the default config can be overridden using the presets key', () => {
241241
.then((result) => {
242242
const expected = `
243243
.min-h-0 {
244-
min-height: 0;
244+
min-height: 0px;
245245
}
246246
.min-h-24 {
247247
min-height: 24px;
@@ -291,7 +291,7 @@ test('presets can be functions', () => {
291291
.then((result) => {
292292
const expected = `
293293
.min-h-0 {
294-
min-height: 0;
294+
min-height: 0px;
295295
}
296296
.min-h-24 {
297297
min-height: 24px;

0 commit comments

Comments
 (0)