@@ -48,6 +48,7 @@ body.editor-is-fullscreen {
48
48
.editor-content-wrap {
49
49
position : relative ;
50
50
overflow-y : scroll ;
51
+ padding-inline : vars .$s ;
51
52
flex : 1 ;
52
53
}
53
54
@@ -275,6 +276,9 @@ body.editor-is-fullscreen {
275
276
border-radius : 4px ;
276
277
overflow : hidden ;
277
278
box-shadow : 0 0 15px 0 rgba (0 , 0 , 0 , 0.3 );
279
+ margin : vars .$xs ;
280
+ max-height : 100% ;
281
+ overflow-y : auto ;
278
282
}
279
283
.editor-modal-header {
280
284
display : flex ;
@@ -490,19 +494,29 @@ body.editor-is-fullscreen {
490
494
/* *
491
495
* Form elements
492
496
*/
497
+ $inputWidth : 260px ;
498
+
493
499
.editor-form-field-wrapper {
494
500
margin-bottom : .5rem ;
495
501
}
496
502
.editor-form-field-input {
497
503
display : block ;
498
- width : 100% ;
499
- min-width : 250px ;
504
+ width : $inputWidth ;
505
+ min-width : 100px ;
506
+ max-width : 100% ;
500
507
border : 1px solid ;
501
508
@include mixins .lightDark (border-color , #DDD , #000 );
502
509
padding : .5rem ;
503
510
border-radius : 4px ;
504
511
@include mixins .lightDark (color , #444 , #BBB );
505
512
}
513
+
514
+ @include mixins .smaller-than (vars .$bp-xs ) {
515
+ .editor-form-field-input {
516
+ min-width : 160px ;
517
+ }
518
+ }
519
+
506
520
textarea .editor-form-field-input {
507
521
font-family : var (--font-code );
508
522
width : 350px ;
@@ -575,6 +589,17 @@ textarea.editor-form-field-input {
575
589
align-items : stretch ;
576
590
gap : .25rem ;
577
591
}
592
+
593
+ @include mixins .smaller-than (vars .$bp-m ) {
594
+ .editor-form-tab-container {
595
+ flex-direction : column ;
596
+ gap : .5rem ;
597
+ }
598
+ .editor-form-tab-controls {
599
+ flex-direction : row ;
600
+ }
601
+ }
602
+
578
603
.editor-form-tab-control {
579
604
font-weight : bold ;
580
605
font-size : 14px ;
@@ -601,7 +626,8 @@ textarea.editor-form-field-input {
601
626
}
602
627
}
603
628
.editor-form-tab-contents {
604
- width : 360px ;
629
+ width : $inputWidth ;
630
+ max-width : 100% ;
605
631
}
606
632
.editor-action-input-container {
607
633
display : flex ;
@@ -612,6 +638,9 @@ textarea.editor-form-field-input {
612
638
.editor-button {
613
639
margin-bottom : 12px ;
614
640
}
641
+ input {
642
+ width : $inputWidth - 40px ;
643
+ }
615
644
}
616
645
617
646
// Editor theme styles
0 commit comments