File tree Expand file tree Collapse file tree 1 file changed +43
-9
lines changed Expand file tree Collapse file tree 1 file changed +43
-9
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,6 @@ $output-height: 180px;
106
106
overflow-y : auto ;
107
107
}
108
108
109
- @media only screen and (max-width : 400px ) {
110
- .navbarVersions {
111
- display : none ;
112
- }
113
- }
114
-
115
109
@media only screen and (max-width : 996px ) {
116
110
.content {
117
111
flex-flow : column ;
@@ -136,14 +130,54 @@ $output-height: 180px;
136
130
--ifm-button-size-multiplier : 0.8 ;
137
131
}
138
132
}
133
+ }
134
+
135
+ @media only screen and (max-width : 400px ) {
136
+ .navbar {
137
+ justify-content : center ;
138
+ }
139
+
140
+ .navbarVersions {
141
+ display : none ;
142
+ }
143
+ }
144
+
145
+ @media only screen and (max-height : 768px ) {
146
+ $output-height-mobile-medium : 140px ;
147
+
148
+ .outputEditor {
149
+ height : calc (100% - #{$output-height-mobile-medium } );
150
+ }
151
+
152
+ .luaOutput {
153
+ height : $output-height-mobile-medium ;
154
+ }
155
+
156
+ $navbar-height-small : 42px ;
157
+
158
+ .navbar {
159
+ height : $navbar-height-small ;
160
+ }
161
+
162
+ .content {
163
+ height : calc (100vh - var (--ifm-navbar-height ) - #{$navbar-height-small } );
164
+ }
165
+
166
+ .navbar {
167
+ * {
168
+ --ifm-button-size-multiplier : 0.9 ;
169
+ }
170
+ }
171
+ }
139
172
140
- $output-height-mobile : 100px ;
173
+ @media only screen and (max-height : 600px ) {
174
+ $output-height-mobile-small : 120px ;
141
175
142
176
.outputEditor {
143
- height : calc (100% - #{$output-height-mobile } );
177
+ height : calc (100% - #{$output-height-mobile-small } );
144
178
}
145
179
146
180
.luaOutput {
147
- height : $output-height-mobile ;
181
+ height : $output-height-mobile-small ;
148
182
}
149
183
}
You can’t perform that action at this time.
0 commit comments