Make iFrames responsive.

This commit is contained in:
Ben Ubois
2019-09-20 17:21:01 -07:00
parent ea13f911f1
commit cdf643c2a6
3 changed files with 53 additions and 47 deletions

View File

@@ -136,6 +136,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"],