Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -152,6 +152,20 @@ def inject_custom_css():
|
|
| 152 |
overflow-y: auto !important;
|
| 153 |
-webkit-overflow-scrolling: touch !important;
|
| 154 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
</style>
|
| 156 |
""", unsafe_allow_html=True)
|
| 157 |
|
|
|
|
| 152 |
overflow-y: auto !important;
|
| 153 |
-webkit-overflow-scrolling: touch !important;
|
| 154 |
}
|
| 155 |
+
|
| 156 |
+
/* 手机端响应式调整(屏幕宽度 < 768px) */
|
| 157 |
+
@media (max-width: 768px) {
|
| 158 |
+
.block-container {
|
| 159 |
+
top: 5.5rem !important;
|
| 160 |
+
padding: 0.5rem 0.5rem 0.5rem 0.5rem !important;
|
| 161 |
+
}
|
| 162 |
+
.main-title {
|
| 163 |
+
padding: 0.2rem 0.5rem !important;
|
| 164 |
+
}
|
| 165 |
+
.main-title h1 {
|
| 166 |
+
font-size: 1.2rem !important;
|
| 167 |
+
}
|
| 168 |
+
}
|
| 169 |
</style>
|
| 170 |
""", unsafe_allow_html=True)
|
| 171 |
|