Don't force iframe height to auto

Prevents truncating of YouTube embeds without needing a wrapper div.
This commit is contained in:
Nate Weaver 2020-02-28 08:17:16 -06:00
parent e183a5406c
commit 82f8951c96
1 changed files with 6 additions and 1 deletions

View File

@ -122,12 +122,17 @@ code, pre {
pre {
white-space: pre-wrap;
}
img, figure, video, iframe, div {
img, figure, video, div {
max-width: 100%;
height: auto !important;
margin: 0 auto;
}
iframe {
max-width: 100%;
margin: 0 auto;
}
figcaption {
font-size: 14px;
line-height: 1.3em;