Browse Source

Merge pull request #3485 from jnu/ie10-flex-unitless

Treat flexPositive, flexNegative as unitless styles
main
Paul O’Shannessy 10 years ago
parent
commit
8516b3b3f1
  1. 4
      tips/06-style-props-value-px.md

4
tips/06-style-props-value-px.md

@ -18,11 +18,15 @@ See [Inline Styles](/react/tips/inline-styles.html) for more info.
Sometimes you _do_ want to keep the CSS properties unitless. Here's a list of properties that won't get the automatic "px" suffix:
- `boxFlex`
- `boxFlexGroup`
- `columnCount`
- `fillOpacity`
- `flex`
- `flexGrow`
- `flexPositive`
- `flexShrink`
- `flexNegative`
- `fontWeight`
- `lineClamp`
- `lineHeight`

Loading…
Cancel
Save