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 f14b2bd46217bb88dbf804006a40eaa641ab5ad6..e563d194a9e71d8b4e90d1163b3b93df3ffbebb6 100644 |
--- a/components/dom_distiller/core/css/distilledpage.css |
+++ b/components/dom_distiller/core/css/distilledpage.css |
@@ -345,6 +345,23 @@ pre { |
} |
} |
+/* Iframe sizing. */ |
+.youtubeContainer { |
+ height: 0px; |
+ /* This is the perecnt height of a standard HD video. */ |
+ padding-bottom: 56.25%; |
+ position: relative; |
+ width: 100%; |
+} |
+ |
+.youtubeIframe { |
+ height: 100%; |
+ left: 0px; |
+ position: absolute; |
+ top: 0px; |
+ width: 100%; |
+} |
+ |
/* Loading Indicator. */ |
#loader { |
height: 22px; |