react-flexr
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -55,3 +55,3 @@ 'use strict'; | ||
var styles = { | ||
flex: size ? '0 0 ' + 100 / denom * numer + '%' : '' + growStyle + ' 1', | ||
flex: size ? '0 0 ' + 100 / denom * numer + '%' : grow !== undefined ? '' + growStyle + ' 1 auto' : 1, | ||
padding: gutter ? gutter : '0 1em', | ||
@@ -58,0 +58,0 @@ display: flex ? 'flex' : null, |
{ | ||
"name": "react-flexr", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "React flexbox grid made simple.", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -18,3 +18,6 @@ import React from 'react'; | ||
const styles = { | ||
flex: size ? `0 0 ${ ( 100 / denom ) * numer }%` : `${ growStyle } 1`, | ||
flex: size ? | ||
`0 0 ${ ( 100 / denom ) * numer }%` : | ||
grow !== undefined ? `${ growStyle } 1 auto` : | ||
1, | ||
padding: gutter ? gutter : '0 1em', | ||
@@ -21,0 +24,0 @@ display: flex ? 'flex' : null, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15002
257