mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Prevent twitter onebox iframes from being taller than mobie viewport
This commit is contained in:
parent
2a98becfde
commit
1232889b30
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user