AlauStone commited on
Commit
2c4c3e8
·
verified ·
1 Parent(s): b51a090

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -166,11 +166,12 @@ def inject_custom_css():
166
  flex: 1 !important;
167
  min-width: 0 !important;
168
  }
169
- /* popover 向上展开 */
170
  [data-testid="stPopoverBody"] {
171
  bottom: 100% !important;
172
  top: auto !important;
173
  margin-bottom: 0.5rem !important;
 
174
  }
175
 
176
  /* 主内容区域底部留出空间 */
 
166
  flex: 1 !important;
167
  min-width: 0 !important;
168
  }
169
+ /* popover 向上展开,宽度和按钮对齐 */
170
  [data-testid="stPopoverBody"] {
171
  bottom: 100% !important;
172
  top: auto !important;
173
  margin-bottom: 0.5rem !important;
174
+ min-width: 100% !important;
175
  }
176
 
177
  /* 主内容区域底部留出空间 */