Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -210,11 +210,13 @@ def inject_custom_css():
|
|
| 210 |
}
|
| 211 |
/* 手机端 popover 居中显示 */
|
| 212 |
[data-testid="stPopoverBody"] {
|
| 213 |
-
left:
|
| 214 |
-
right:
|
| 215 |
-
transform:
|
| 216 |
-
width:
|
| 217 |
-
max-width:
|
|
|
|
|
|
|
| 218 |
}
|
| 219 |
}
|
| 220 |
|
|
|
|
| 210 |
}
|
| 211 |
/* 手机端 popover 居中显示 */
|
| 212 |
[data-testid="stPopoverBody"] {
|
| 213 |
+
left: 1rem !important;
|
| 214 |
+
right: 1rem !important;
|
| 215 |
+
transform: none !important;
|
| 216 |
+
width: auto !important;
|
| 217 |
+
max-width: calc(100vw - 2rem) !important;
|
| 218 |
+
bottom: auto !important;
|
| 219 |
+
top: auto !important;
|
| 220 |
}
|
| 221 |
}
|
| 222 |
|