Skip to content

Commit

Permalink
Add width='100%' to mediaChild
Browse files Browse the repository at this point in the history
Add width='100%' to mediaChild for Firefox.
In Firefox, the IMG tag children pop out of their containers if the width isn't set.
  • Loading branch information
AliciaWamsley committed Oct 21, 2015
1 parent e371de6 commit 26e3a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/card/card-media.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const CardMedia = React.createClass({
verticalAlign: 'top',
maxWidth: '100%',
minWidth: '100%',
width:'100%',
},
};
},
Expand Down

0 comments on commit 26e3a3e

Please sign in to comment.