@@ -262,7 +262,7 @@ input[type="color"] {
262
262
body {
263
263
display : grid ;
264
264
grid-template-rows : max-content 1fr ;
265
- grid-template-columns : 1fr 1 rem minmax (0rem , 52rem ) 1 rem 1fr ;
265
+ grid-template-columns : 1fr 2 rem minmax (0rem , 52rem ) 2 rem 1fr ;
266
266
grid-template-areas :
267
267
" header header header header header"
268
268
" . . main . ." ;
@@ -276,6 +276,7 @@ body {
276
276
--rosewater --flamingo --pink --mauve --red --maroon --peach --yellow
277
277
--green --teal --sky --sapphire --blue --lavender ;
278
278
transition-duration : 250ms ;
279
+ overflow-x : hidden ;
279
280
}
280
281
281
282
header {
@@ -393,7 +394,7 @@ th-drag-area {
393
394
394
395
th-control {
395
396
display : grid ;
396
- grid-template-rows : max-content 1.5rem ;
397
+ grid-template-rows : 2 rem 1.5rem ;
397
398
grid-template-columns : 1fr ;
398
399
grid-template-areas : " label" " input" ;
399
400
align-items : center ;
@@ -435,13 +436,26 @@ th-corner {
435
436
}
436
437
}
437
438
438
- @media (max-width : 500 px ) {
439
+ @media (max-width : 740 px ) {
439
440
th-tester {
440
- grid-template-rows : minmax (16rem , 1fr ) min-content ;
441
- grid-template-areas : " drag-area" " controls" ;
441
+ grid-template-columns : 1fr ;
442
+ grid-template-rows : 32rem min-content ;
443
+ grid-template-areas : " drag-area" " form" ;
442
444
443
445
& > form {
444
- grid-template-columns : max-content 1fr max-content 1fr ;
446
+ grid-template-columns : 1fr 1fr ;
447
+ grid-template-rows : 1fr 1fr ;
448
+ row-gap : 1rem ;
449
+ column-gap : 2rem ;
450
+ }
451
+ }
452
+ }
453
+
454
+ @media (max-width : 480px ) {
455
+ th-tester {
456
+ & > form {
457
+ grid-template-columns : 1fr ;
458
+ grid-template-rows : repeat (4 , 1fr );
445
459
}
446
460
}
447
461
}
0 commit comments