diff --git a/Mac/MainWindow/Detail/styleSheet.css b/Mac/MainWindow/Detail/styleSheet.css index 97ab0e019..107a7cb7e 100644 --- a/Mac/MainWindow/Detail/styleSheet.css +++ b/Mac/MainWindow/Detail/styleSheet.css @@ -133,6 +133,20 @@ figcaption { line-height: 1.3em; } +.iframeWrap { + position: relative; + display: block; + padding-top: 56.25%; +} + +.iframeWrap iframe { + position: absolute; + top: 0; + left: 0; + height: 100% !important; + width: 100% !important; +} + /*Block ads and junk*/ iframe[src*="feedads"], diff --git a/iOS/Resources/styleSheet.css b/iOS/Resources/styleSheet.css index fd77f1cbd..2b14a2684 100644 --- a/iOS/Resources/styleSheet.css +++ b/iOS/Resources/styleSheet.css @@ -133,6 +133,20 @@ figcaption { line-height: 1.3em; } +.iframeWrap { + position: relative; + display: block; + padding-top: 56.25%; +} + +.iframeWrap iframe { + position: absolute; + top: 0; + left: 0; + height: 100% !important; + width: 100% !important; +} + /*Block ads and junk*/ iframe[src*="feedads"],