UX: Prevent twitter onebox iframes from being taller than mobie viewport

This commit is contained in:
Kris 2019-08-12 11:03:54 -04:00
parent 2a98becfde
commit 1232889b30

View File

@ -233,6 +233,13 @@ aside.onebox {
max-height: 100%;
float: none;
}
@include breakpoint(mobile-extra-large) {
// Prevent twitter embeds from being taller than the mobile viewport
iframe {
max-height: 70vh;
}
}
}
&.user-onebox {