From 26e3a3e7728aa6271278789b3e02b3c4bceebf87 Mon Sep 17 00:00:00 2001 From: Alicia Wamsley Date: Wed, 7 Oct 2015 13:10:44 -0400 Subject: [PATCH] Add width='100%' to mediaChild Add width='100%' to mediaChild for Firefox. In Firefox, the IMG tag children pop out of their containers if the width isn't set. --- src/card/card-media.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/card/card-media.jsx b/src/card/card-media.jsx index 0196ddd7556853..3f11582549ba46 100644 --- a/src/card/card-media.jsx +++ b/src/card/card-media.jsx @@ -47,6 +47,7 @@ const CardMedia = React.createClass({ verticalAlign: 'top', maxWidth: '100%', minWidth: '100%', + width:'100%', }, }; },