Fix iframe height with container queries

pull/1985/head
FireIsGood 2 years ago
parent e09de8f11f
commit ce9a34a052

@ -1,4 +1,6 @@
._mdn { ._mdn {
container-type: inline-size;
.index { // HTML, CSS .index { // HTML, CSS
-webkit-columns: 16em; -webkit-columns: 16em;
-moz-columns: 16em; -moz-columns: 16em;
@ -155,7 +157,7 @@
height: 780px; height: 780px;
} }
} }
@media screen and (min-width: 993px) { @container (min-width: 594px) {
.interactive { .interactive {
height: 380px; height: 380px;

Loading…
Cancel
Save