Skip to content

Commit 0c634b3

Browse files
committed
Ensure embed still looks good on mobile
1 parent 117ae49 commit 0c634b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_sass/docs.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,15 @@
106106
background: white;
107107
border: 1px solid silver;
108108
padding: 3px;
109+
max-height: 25vh;
110+
111+
@media (orientation: landscape) {
112+
max-height: 90vh;
113+
}
109114

110115
@include media-query('medium') {
111116
min-height: 480px;
117+
max-height: initial;
112118
}
113119
}
114120

0 commit comments

Comments
 (0)