Skip to content

Commit

Permalink
0.8.3 auto px exception for flex
Browse files Browse the repository at this point in the history
- fixes issue in IE
- added prettierrc
  • Loading branch information
fuzetsu committed Nov 12, 2019
1 parent 5a8a276 commit d7fb719
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.8.3

_2019-11-12_

Added auto-px exception for `flex`. In IE `px` was being added even though numbers without units numbers should be accepted.

## 0.8.2

_2019-11-08_
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zaftig",
"version": "0.8.2",
"version": "0.8.3",
"description": "css for your js",
"source": "src/index.js",
"main": "dist/zaftig.es5.min.js",
Expand Down Expand Up @@ -28,6 +28,6 @@
"buble": "^0.19.8",
"jsdom": "^15.2.1",
"ospec": "^4.0.1",
"terser": "^4.3.9"
"terser": "^4.4.0"
}
}
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const needsPx = memo(
return testDiv.style.cssText.slice(-3) == 'px;'
}),
{
flex: false,
border: true,
'border-left': true,
'border-right': true,
Expand Down

0 comments on commit d7fb719

Please sign in to comment.