Don't force iframe height to auto
Prevents truncating of YouTube embeds without needing a wrapper div.
This commit is contained in:
parent
e183a5406c
commit
82f8951c96
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue