Chromium Code Reviews| Index: components/dom_distiller/core/css/distilledpage.css |
| diff --git a/components/dom_distiller/core/css/distilledpage.css b/components/dom_distiller/core/css/distilledpage.css |
| index c34d058dd298cc0ef7d640a426862b981322a7bd..d3cb3c9936587cfe42c7173b190b4e744b99ae96 100644 |
| --- a/components/dom_distiller/core/css/distilledpage.css |
| +++ b/components/dom_distiller/core/css/distilledpage.css |
| @@ -274,6 +274,22 @@ pre { |
| display: none; |
| } |
| +/* Iframe sizing. */ |
| +.youtubeContainer { |
| + height: 0px; |
| + padding-bottom: 60%; |
|
cjhopman
2015/03/19 03:34:47
this is based on the video aspect ratio, right? co
mdjones
2015/03/19 18:08:39
Done.
|
| + position: relative; |
| + width: 100%; |
| +} |
| + |
| +.youtubeIframe { |
| + height: 100%; |
| + left: 0px; |
| + position: absolute; |
| + top: 0px; |
| + width: 100%; |
| +} |
|
cjhopman
2015/03/19 03:34:47
Could you add a screenshot to the description so I
mdjones
2015/03/19 18:08:39
Done. See https://code.google.com/p/chromium/issue
|
| + |
| /* Loading Indicator. */ |
| #loader { |
| height: 22px; |