Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -192,6 +192,22 @@ def inject_custom_css():
|
|
| 192 |
.main-title h1 {
|
| 193 |
font-size: 1.2rem !important;
|
| 194 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
}
|
| 196 |
|
| 197 |
/* 游客模式:标题更高,内容区 top 更大 */
|
|
|
|
| 192 |
.main-title h1 {
|
| 193 |
font-size: 1.2rem !important;
|
| 194 |
}
|
| 195 |
+
/* 手机端工具栏:强制两列并排 */
|
| 196 |
+
[data-testid="stHorizontalBlock"] {
|
| 197 |
+
display: flex !important;
|
| 198 |
+
flex-wrap: nowrap !important;
|
| 199 |
+
gap: 0.3rem !important;
|
| 200 |
+
}
|
| 201 |
+
[data-testid="stHorizontalBlock"] > div {
|
| 202 |
+
flex: 1 !important;
|
| 203 |
+
min-width: 0 !important;
|
| 204 |
+
width: auto !important;
|
| 205 |
+
}
|
| 206 |
+
/* 按钮文字缩小 */
|
| 207 |
+
[data-testid="stHorizontalBlock"] button {
|
| 208 |
+
font-size: 12px !important;
|
| 209 |
+
padding: 0.4rem 0.3rem !important;
|
| 210 |
+
}
|
| 211 |
}
|
| 212 |
|
| 213 |
/* 游客模式:标题更高,内容区 top 更大 */
|