Skip to content

Commit

Permalink
Merge pull request #1936 from vinzscam/master
Browse files Browse the repository at this point in the history
[Grid] Fix GridList style broken in Safari
  • Loading branch information
oliviertassinari committed Oct 21, 2015
2 parents b63a94f + 0a2d21b commit 806732f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/grid-list/grid-list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const GridList = React.createClass({
return {
cols: 2,
padding: 4,
cellHeight: '180px',
cellHeight: 180,
};
},

Expand All @@ -53,7 +53,7 @@ const GridList = React.createClass({
{
return {
root: {
display: 'flex',
display: '-webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex',
flexWrap: 'wrap',
margin: `-${this.props.padding/2}px`,
},
Expand Down
2 changes: 1 addition & 1 deletion src/grid-list/grid-tile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const GridTile = React.createClass({
[this.props.titlePosition]: 0,
height: this.props.subtitle ? 68 : 48,
background: this.props.titleBackground,
display: 'flex',
display: '-webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex',
alignItems: 'center',
},
titleWrap: {
Expand Down

0 comments on commit 806732f

Please sign in to comment.