AlauStone commited on
Commit
044bccb
·
verified ·
1 Parent(s): b9cd76c

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -105,8 +105,17 @@ def inject_custom_css():
105
  color: #444;
106
  letter-spacing: 1px;
107
  }
108
- /* 减少标题上方空白 */
109
- .block-container { padding-top: 5rem !important; padding-bottom: 6rem !important; }
 
 
 
 
 
 
 
 
 
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 {