陈俊杰
commited on
Commit
•
ca872a1
1
Parent(s):
4c24185
fix the width
Browse files
app.py
CHANGED
@@ -7,14 +7,23 @@ st.markdown("""
|
|
7 |
body {
|
8 |
color: #fff;
|
9 |
background-color: #111;
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
.stDataFrame {
|
13 |
font-family: Helvetica;
|
14 |
font-size: 16px;
|
|
|
|
|
15 |
}
|
16 |
h1 {
|
17 |
-
color: #
|
18 |
}
|
19 |
</style>
|
20 |
""", unsafe_allow_html=True)
|
|
|
7 |
body {
|
8 |
color: #fff;
|
9 |
background-color: #111;
|
10 |
+
}
|
11 |
+
/* 调整全局容器宽度为屏幕的 90%,自适应屏幕 */
|
12 |
+
.css-1d391kg {
|
13 |
+
padding: 1rem 1rem; /* 调整内边距 */
|
14 |
+
}
|
15 |
+
/* 设置主体内容最大宽度为100%,自适应屏幕 */
|
16 |
+
.css-1lcbmhc {
|
17 |
+
max-width: 100%;
|
18 |
}
|
19 |
.stDataFrame {
|
20 |
font-family: Helvetica;
|
21 |
font-size: 16px;
|
22 |
+
width: 100%;
|
23 |
+
min-width: 100%;
|
24 |
}
|
25 |
h1 {
|
26 |
+
color: #ffdf92;
|
27 |
}
|
28 |
</style>
|
29 |
""", unsafe_allow_html=True)
|