File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ header .title::after {
121
121
left : 100% ;
122
122
123
123
font-family : var (--font-family-text );
124
- font-size : min ( max ( 0.75rem , 4vw ) , 1.5rem );
124
+ font-size : clamp ( 0.75rem , 4vw , 1.5rem );
125
125
text-align : right;
126
126
}
127
127
@@ -206,11 +206,23 @@ section:has(code-bedder) {
206
206
grid-auto-rows : 33vh ;
207
207
}
208
208
209
+ iframe {
210
+ grid-row-start : 1 ;
211
+ width : 100% ;
212
+ height : 100% ;
213
+ border : 0 ;
214
+ background : var (--primary-500 ); /* mask white bottom line on mobile */
215
+ }
216
+
209
217
@media (min-width : 960px ) {
210
218
section : has (code-bedder ) {
211
219
grid-auto-rows : initial;
212
220
grid-template-columns : minmax (0 , 1fr ) minmax (0 , 1fr );
213
221
}
222
+
223
+ iframe {
224
+ grid-row-start : initial;
225
+ }
214
226
}
215
227
216
228
section : not (: has (code-bedder )) {
@@ -226,16 +238,6 @@ section:not(:has(code-bedder)) {
226
238
}
227
239
}
228
240
229
- iframe {
230
- width : 100% ;
231
- height : 100% ;
232
- border : 0 ;
233
- }
234
-
235
- code-bedder {
236
- max-height : 100vh ;
237
- }
238
-
239
241
/* Buy */
240
242
section : has (# buy ) dl {
241
243
display : flex;
You can’t perform that action at this time.
0 commit comments