陈俊杰 commited on
Commit
3415404
·
1 Parent(s): e8c6b53
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -122,11 +122,11 @@ with st.sidebar:
122
 
123
  st.markdown("""
124
  <style>
125
- /* 统一调整所有 Markdown 文本的字体大小 */
126
- .markdown-text-container {
127
- font-size: 100px;
128
  font-family: 'Times New Roman', serif;
129
- line-height: 1.6; /* 设置行高 */
130
  }
131
  </style>
132
  """, unsafe_allow_html=True)
 
122
 
123
  st.markdown("""
124
  <style>
125
+ /* 应用到所有的Markdown渲染文本 */
126
+ div[data-testid="stMarkdownContainer"] {
127
+ font-size: 24px;
128
  font-family: 'Times New Roman', serif;
129
+ line-height: 1.6;
130
  }
131
  </style>
132
  """, unsafe_allow_html=True)