Yiming-M commited on
Commit
0f2ce4d
·
1 Parent(s): 4a2b023

2025-08-01 09:40 🚀

Browse files
Files changed (1) hide show
  1. app.py +14 -2
app.py CHANGED
@@ -810,7 +810,6 @@ select option[value*="━━━━━━"] {
810
 
811
  /* 确保第二行组件等高 - 重新调整为三列等宽 */
812
  .gr-row:nth-of-type(2) .gr-group {
813
- height: 180px !important;
814
  min-height: 180px !important;
815
  display: flex !important;
816
  flex-direction: column !important;
@@ -832,7 +831,20 @@ select option[value*="━━━━━━"] {
832
  /* 确保第二行下拉菜单区域等高 */
833
  .gr-row:nth-of-type(2) .gr-dropdown {
834
  min-height: 80px !important;
835
- max-height: 80px !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
836
  }
837
 
838
  /* 确保第三行组件等高 - 重新调整高度 */
 
810
 
811
  /* 确保第二行组件等高 - 重新调整为三列等宽 */
812
  .gr-row:nth-of-type(2) .gr-group {
 
813
  min-height: 180px !important;
814
  display: flex !important;
815
  flex-direction: column !important;
 
831
  /* 确保第二行下拉菜单区域等高 */
832
  .gr-row:nth-of-type(2) .gr-dropdown {
833
  min-height: 80px !important;
834
+ }
835
+
836
+ /* 确保下拉框可以正常展开 */
837
+ .gr-dropdown {
838
+ position: relative !important;
839
+ z-index: 1000 !important;
840
+ }
841
+
842
+ .gr-dropdown .choices {
843
+ position: absolute !important;
844
+ z-index: 1001 !important;
845
+ width: 100% !important;
846
+ max-height: 300px !important;
847
+ overflow-y: auto !important;
848
  }
849
 
850
  /* 确保第三行组件等高 - 重新调整高度 */