Skip to content

Commit ac4ee18

Browse files
authored
Merge pull request #25 from styled-components/jacobp100-patch-1
Fix spec compliance when omitting flex-grow
2 parents 7225974 + 39a4b92 commit ac4ee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transforms/flex.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { tokens } = require('../tokenTypes');
22

33
const { NONE, NUMBER, LENGTH, SPACE } = tokens;
44

5-
const defaultFlexGrow = 0;
5+
const defaultFlexGrow = 1;
66
const defaultFlexShrink = 1;
77
const defaultFlexBasis = 0;
88

0 commit comments

Comments
 (0)