Davichick commited on
Commit
eae0c8e
Β·
verified Β·
1 Parent(s): 619fbaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -12
app.py CHANGED
@@ -638,7 +638,6 @@ footer {{ display: none !important; }}
638
  border: 1px solid {T['line']} !important;
639
  border-radius: 4px !important;
640
  padding: 0 !important;
641
- overflow: visible !important;
642
  }}
643
 
644
  /* ── Labels ───────────────────────────────────────── */
@@ -655,7 +654,7 @@ label span, .block-title, label {{
655
  label * {{ color: {T['dim']} !important; font-size: inherit !important; }}
656
 
657
  /* ── Inputs ───────────────────────────────────────── */
658
- textarea, input, select {{
659
  background: {T['slab']} !important;
660
  color: {T['bone']} !important;
661
  border: 1px solid {T['line']} !important;
@@ -664,7 +663,7 @@ textarea, input, select {{
664
  line-height: 1.7 !important;
665
  transition: border-color .15s !important;
666
  }}
667
- textarea:focus, input:focus, select:focus {{
668
  border-color: {T['ember']} !important;
669
  outline: none !important;
670
  box-shadow: none !important;
@@ -676,7 +675,12 @@ textarea::placeholder {{ color: {T['dim']} !important; }}
676
  border-right: 1px solid {T['line']} !important;
677
  border-bottom: 1px solid {T['line']} !important;
678
  }}
679
- #panel-config input, #panel-config .wrap-inner, #panel-config .secondary-wrap {{
 
 
 
 
 
680
  background: transparent !important;
681
  border: none !important;
682
  padding-left: 0 !important;
@@ -771,20 +775,19 @@ textarea::placeholder {{ color: {T['dim']} !important; }}
771
  #a-input textarea {{ min-height: 190px !important; padding: 16px 18px !important; }}
772
 
773
  /* ── Dropdown menu ────────────────────────────────── */
774
- #panel-config,
775
- #panel-config div {{
776
  overflow: visible !important;
777
  }}
778
 
779
- #panel-config .block,
780
- #panel-config .gradio-dropdown,
781
- .gradio-dropdown {{
782
  position: relative !important;
 
783
  }}
784
 
785
- /* Elevate the active row so it paints over the row below it */
786
- #panel-config div:hover,
787
- #panel-config div:focus-within {{
788
  z-index: 999 !important;
789
  }}
790
 
 
638
  border: 1px solid {T['line']} !important;
639
  border-radius: 4px !important;
640
  padding: 0 !important;
 
641
  }}
642
 
643
  /* ── Labels ───────────────────────────────────────── */
 
654
  label * {{ color: {T['dim']} !important; font-size: inherit !important; }}
655
 
656
  /* ── Inputs ───────────────────────────────────────── */
657
+ textarea, select {{
658
  background: {T['slab']} !important;
659
  color: {T['bone']} !important;
660
  border: 1px solid {T['line']} !important;
 
663
  line-height: 1.7 !important;
664
  transition: border-color .15s !important;
665
  }}
666
+ textarea:focus, select:focus {{
667
  border-color: {T['ember']} !important;
668
  outline: none !important;
669
  box-shadow: none !important;
 
675
  border-right: 1px solid {T['line']} !important;
676
  border-bottom: 1px solid {T['line']} !important;
677
  }}
678
+
679
+ #panel-config input,
680
+ #panel-config .wrap-inner,
681
+ #panel-config .secondary-wrap,
682
+ #panel-config .single-select,
683
+ #panel-config .token {{
684
  background: transparent !important;
685
  border: none !important;
686
  padding-left: 0 !important;
 
775
  #a-input textarea {{ min-height: 190px !important; padding: 16px 18px !important; }}
776
 
777
  /* ── Dropdown menu ────────────────────────────────── */
778
+ #panel-config,
779
+ #panel-config .block {{
780
  overflow: visible !important;
781
  }}
782
 
783
+ #panel-config .block {{
 
 
784
  position: relative !important;
785
+ z-index: 1 !important;
786
  }}
787
 
788
+ /* Elevate the active block so its menu paints over the blocks below it */
789
+ #panel-config .block:hover,
790
+ #panel-config .block:focus-within {{
791
  z-index: 999 !important;
792
  }}
793