Skip to content

Commit

Permalink
Don't mix unitless values with units in the same scale
Browse files Browse the repository at this point in the history
Resolves an issue where `ring-offset-0` didn't actually work because `calc(0 * 1)` fails to compute, need a unit.
  • Loading branch information
adamwathan committed Nov 17, 2020
1 parent e701c81 commit 3de0c48
Show file tree
Hide file tree
Showing 6 changed files with 4,260 additions and 1,884 deletions.
4 changes: 2 additions & 2 deletions __tests__/customConfig.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ test('the default config can be overridden using the presets key', () => {
.then((result) => {
const expected = `
.min-h-0 {
min-height: 0;
min-height: 0px;
}
.min-h-24 {
min-height: 24px;
Expand Down Expand Up @@ -291,7 +291,7 @@ test('presets can be functions', () => {
.then((result) => {
const expected = `
.min-h-0 {
min-height: 0;
min-height: 0px;
}
.min-h-24 {
min-height: 24px;
Expand Down
Loading

0 comments on commit 3de0c48

Please sign in to comment.