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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -771,13 +771,23 @@ 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 .block,
775
  #panel-config .gradio-dropdown,
776
  .gradio-dropdown {{
777
- overflow: visible !important;
778
  position: relative !important;
779
  }}
780
 
 
 
 
 
 
 
781
  .options, .options-wrap, [role="listbox"], ul.options {{
782
  background: {T['raise']} !important;
783
  border: 1px solid {T['line2']} !important;
@@ -789,6 +799,7 @@ textarea::placeholder {{ color: {T['dim']} !important; }}
789
  left: 0 !important;
790
  width: 100% !important;
791
  margin-top: 4px !important;
 
792
  }}
793
 
794
  li.item {{ background: {T['raise']} !important; color: {T['ash']} !important; font-family: {BODY} !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
+
791
  .options, .options-wrap, [role="listbox"], ul.options {{
792
  background: {T['raise']} !important;
793
  border: 1px solid {T['line2']} !important;
 
799
  left: 0 !important;
800
  width: 100% !important;
801
  margin-top: 4px !important;
802
+ box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
803
  }}
804
 
805
  li.item {{ background: {T['raise']} !important; color: {T['ash']} !important; font-family: {BODY} !important; }}