From f9b39a592a1835ed86f001ea5c485d18ce2f6db6 Mon Sep 17 00:00:00 2001 From: Robin Frischmann Date: Wed, 9 May 2018 09:45:05 +0200 Subject: [PATCH] #153 improve flexbox plugins --- modules/dynamic/plugins/flexboxOld.js | 1 + modules/static/plugins/flexboxOld.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/modules/dynamic/plugins/flexboxOld.js b/modules/dynamic/plugins/flexboxOld.js index e2178d1..1bf7984 100644 --- a/modules/dynamic/plugins/flexboxOld.js +++ b/modules/dynamic/plugins/flexboxOld.js @@ -18,6 +18,7 @@ const alternativeProps = { alignItems: 'WebkitBoxAlign', justifyContent: 'WebkitBoxPack', flexWrap: 'WebkitBoxLines', + flexGrow: 'WebkitBoxFlex', } const otherProps = [ diff --git a/modules/static/plugins/flexboxOld.js b/modules/static/plugins/flexboxOld.js index cc55c63..aaf9613 100644 --- a/modules/static/plugins/flexboxOld.js +++ b/modules/static/plugins/flexboxOld.js @@ -6,12 +6,15 @@ const alternativeValues = { 'flex-end': 'end', 'wrap-reverse': 'multiple', wrap: 'multiple', + flex: 'box', + 'inline-flex': 'inline-box', } const alternativeProps = { alignItems: 'WebkitBoxAlign', justifyContent: 'WebkitBoxPack', flexWrap: 'WebkitBoxLines', + flexGrow: 'WebkitBoxFlex', } export default function flexboxOld(