File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,15 @@ See [Inline Styles](/react/tips/inline-styles.html) for more info.
1818
1919Sometimes you _ do_ want to keep the CSS properties unitless. Here's a list of properties that won't get the automatic "px" suffix:
2020
21+ - ` boxFlex `
22+ - ` boxFlexGroup `
2123- ` columnCount `
2224- ` fillOpacity `
2325- ` flex `
2426- ` flexGrow `
27+ - ` flexPositive `
2528- ` flexShrink `
29+ - ` flexNegative `
2630- ` fontWeight `
2731- ` lineClamp `
2832- ` lineHeight `
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ var isUnitlessNumber = {
2020 columnCount : true ,
2121 flex : true ,
2222 flexGrow : true ,
23+ flexPositive : true ,
2324 flexShrink : true ,
25+ flexNegative : true ,
2426 fontWeight : true ,
2527 lineClamp : true ,
2628 lineHeight : true ,
You can’t perform that action at this time.
0 commit comments