From c70b15a60c3692b48c661bf9144633c0e054ad4e Mon Sep 17 00:00:00 2001 From: Joseph Nudell Date: Mon, 23 Mar 2015 11:03:37 -0500 Subject: [PATCH 1/2] Treat flexPositive/Negative/boxFlex as unitless styles --- tips/06-style-props-value-px.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tips/06-style-props-value-px.md b/tips/06-style-props-value-px.md index aeb2cb3e..5f099113 100644 --- a/tips/06-style-props-value-px.md +++ b/tips/06-style-props-value-px.md @@ -18,11 +18,14 @@ 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` - `columnCount` - `fillOpacity` - `flex` - `flexGrow` +- `flexPositive` - `flexShrink` +- `flexNegative` - `fontWeight` - `lineClamp` - `lineHeight` From a7a88b523b5ca044a31f460827a0d0c8fc6e5133 Mon Sep 17 00:00:00 2001 From: Joseph Nudell Date: Mon, 23 Mar 2015 11:30:56 -0500 Subject: [PATCH 2/2] Update unprefixed css props doc --- tips/06-style-props-value-px.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tips/06-style-props-value-px.md b/tips/06-style-props-value-px.md index 5f099113..3f308cbc 100644 --- a/tips/06-style-props-value-px.md +++ b/tips/06-style-props-value-px.md @@ -19,6 +19,7 @@ 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`