Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
•
e11c457
1
Parent(s):
a8d9ebc
根据设备宽度显示按钮
Browse files- custom.css +11 -1
custom.css
CHANGED
@@ -11,9 +11,19 @@
|
|
11 |
color: var(--text-color-subdued) !important;
|
12 |
}
|
13 |
/* chatbot */
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
height: calc(100vh - 140px);
|
16 |
}
|
|
|
17 |
/* 对话气泡 */
|
18 |
[class *= "message"] {
|
19 |
border-radius: var(--radius-xl) !important;
|
|
|
11 |
color: var(--text-color-subdued) !important;
|
12 |
}
|
13 |
/* chatbot */
|
14 |
+
/* 大于等于500px的设备 */
|
15 |
+
@media (min-width: 500px) {
|
16 |
+
#chuanhu_chatbot {
|
17 |
+
height: calc(100vh - 200px);
|
18 |
+
}
|
19 |
+
}
|
20 |
+
|
21 |
+
/* 小于500px的设备 */
|
22 |
+
@media (max-width: 499px) {
|
23 |
+
#chuanhu_chatbot {
|
24 |
height: calc(100vh - 140px);
|
25 |
}
|
26 |
+
}
|
27 |
/* 对话气泡 */
|
28 |
[class *= "message"] {
|
29 |
border-radius: var(--radius-xl) !important;
|