History

Fix iframe height with container queries

FireIsGood committed 3 years ago

Commit ce9a34a1 parent e09de8f1 file · +3 −1Browse files

Unified · Split

assets/stylesheets/pages/_mdn.scss+3−1
@@ -1,4 +1,6 @@
11 ._mdn {
2+ container-type: inline-size;
3+
24 .index { // HTML, CSS
35 -webkit-columns: 16em;
46 -moz-columns: 16em;
@@ -155,7 +157,7 @@ · 150 unmodified lines
155157 height: 780px;
156158 }
157159 }
158− @media screen and (min-width: 993px) {
160+ @container (min-width: 594px) {
159161 .interactive {
160162 height: 380px;
161163