Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -105,8 +105,17 @@ def inject_custom_css():
|
|
| 105 |
color: #444;
|
| 106 |
letter-spacing: 1px;
|
| 107 |
}
|
| 108 |
-
/*
|
| 109 |
-
.block-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
/* 固定标题在顶部 */
|
| 112 |
.main-title {
|
|
|
|
| 105 |
color: #444;
|
| 106 |
letter-spacing: 1px;
|
| 107 |
}
|
| 108 |
+
/* 主内容区域:限制在标题和搜索框之间 */
|
| 109 |
+
.block-container {
|
| 110 |
+
position: fixed !important;
|
| 111 |
+
top: 5.5rem !important;
|
| 112 |
+
bottom: 5rem !important;
|
| 113 |
+
left: 0 !important;
|
| 114 |
+
right: 0 !important;
|
| 115 |
+
overflow-y: auto !important;
|
| 116 |
+
-webkit-overflow-scrolling: touch !important;
|
| 117 |
+
padding: 1rem 1rem 1rem 1rem !important;
|
| 118 |
+
}
|
| 119 |
|
| 120 |
/* 固定标题在顶部 */
|
| 121 |
.main-title {
|