AlauStone commited on
Commit
1f2696a
·
verified ·
1 Parent(s): f29e114

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -208,6 +208,14 @@ def inject_custom_css():
208
  font-size: 12px !important;
209
  padding: 0.4rem 0.3rem !important;
210
  }
 
 
 
 
 
 
 
 
211
  }
212
 
213
  /* 游客模式:标题更高,内容区 top 更大 */
 
208
  font-size: 12px !important;
209
  padding: 0.4rem 0.3rem !important;
210
  }
211
+ /* 手机端 popover 居中显示 */
212
+ [data-testid="stPopoverBody"] {
213
+ left: 50% !important;
214
+ right: auto !important;
215
+ transform: translateX(-50%) !important;
216
+ width: calc(100vw - 2rem) !important;
217
+ max-width: 300px !important;
218
+ }
219
  }
220
 
221
  /* 游客模式:标题更高,内容区 top 更大 */