File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const GridList = React.createClass({
5353 {
5454 return {
5555 root : {
56- display : 'flex' ,
56+ display : '-webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex' ,
5757 flexWrap : 'wrap' ,
5858 margin : `-${ this . props . padding / 2 } px` ,
5959 } ,
@@ -84,7 +84,7 @@ const GridList = React.createClass({
8484 const childRows = currentChild . props . rows || 1 ;
8585 const itemStyle = this . mergeStyles ( styles . item , {
8686 width : ( 100 / cols * childCols ) + '%' ,
87- height : cellHeight * childRows + padding ,
87+ height : parseInt ( cellHeight ) * childRows + padding ,
8888 } ) ;
8989
9090 return < div style = { this . prepareStyles ( itemStyle ) } > { currentChild } </ div > ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ const GridTile = React.createClass({
8383 [ this . props . titlePosition ] : 0 ,
8484 height : this . props . subtitle ? 68 : 48 ,
8585 background : this . props . titleBackground ,
86- display : 'flex' ,
86+ display : '-webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex' ,
8787 alignItems : 'center' ,
8888 } ,
8989 titleWrap : {
You can’t perform that action at this time.
0 commit comments