mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Merge pull request #3742 from mminer/order-css-vendor-prefixes
Treat boxOrdinalGroup and flexOrder as unitless
This commit is contained in:
@@ -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`
|
||||
|
||||
@@ -18,12 +18,14 @@ var isUnitlessNumber = {
|
||||
animationIterationCount: true,
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user