Treat boxOrdinalGroup and flexOrder as unitless.

This commit is contained in:
Matthew Miner
2015-04-24 17:05:07 -07:00
parent d7a7605dfe
commit 51cbcf6393
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -20,6 +20,7 @@ Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of pr
- `boxFlex`
- `boxFlexGroup`
- `boxOrdinalGroup`
- `columnCount`
- `fillOpacity`
- `flex`
@@ -27,6 +28,7 @@ Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of pr
- `flexPositive`
- `flexShrink`
- `flexNegative`
- `flexOrder`
- `fontWeight`
- `lineClamp`
- `lineHeight`
+2
View File
@@ -17,12 +17,14 @@
var isUnitlessNumber = {
boxFlex: true,
boxFlexGroup: true,
boxOrdinalGroup: true,
columnCount: true,
flex: true,
flexGrow: true,
flexPositive: true,
flexShrink: true,
flexNegative: true,
flexOrder: true,
fontWeight: true,
lineClamp: true,
lineHeight: true,