Skip to content

Commit

Permalink
#153 improve flexbox plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Frischmann committed May 9, 2018
1 parent 6159d51 commit f9b39a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/dynamic/plugins/flexboxOld.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const alternativeProps = {
alignItems: 'WebkitBoxAlign',
justifyContent: 'WebkitBoxPack',
flexWrap: 'WebkitBoxLines',
flexGrow: 'WebkitBoxFlex',
}

const otherProps = [
Expand Down
3 changes: 3 additions & 0 deletions modules/static/plugins/flexboxOld.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f9b39a5

Please sign in to comment.