Update src/display/css_html_js.py
Browse files- src/display/css_html_js.py +12 -1
src/display/css_html_js.py
CHANGED
@@ -7,16 +7,27 @@ custom_css = """
|
|
7 |
|
8 |
.gradio-container .contain .tab-buttons button {
|
9 |
font-size: 14px !important;
|
|
|
|
|
10 |
}
|
11 |
|
12 |
.multiline.svelte-fvkwu {
|
13 |
overflow: visible !important; /* 防止隐藏超出部分 */
|
14 |
text-overflow: unset !important; /* 取消文本溢出省略 */
|
15 |
-
min-width:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
|
18 |
.gradio-container.gradio-container-5-43-1 .contain .tab-buttons button {
|
19 |
font-size: 14px !important;
|
|
|
|
|
20 |
}
|
21 |
|
22 |
|
|
|
7 |
|
8 |
.gradio-container .contain .tab-buttons button {
|
9 |
font-size: 14px !important;
|
10 |
+
overflow-x: auto !important; /* 让容器水平滚动 */
|
11 |
+
-webkit-overflow-scrolling: touch; /* iOS 中的平滑滚动 */
|
12 |
}
|
13 |
|
14 |
.multiline.svelte-fvkwu {
|
15 |
overflow: visible !important; /* 防止隐藏超出部分 */
|
16 |
text-overflow: unset !important; /* 取消文本溢出省略 */
|
17 |
+
min-width: 150px !important;
|
18 |
+
overflow-x: auto !important; /* 让容器水平滚动 */
|
19 |
+
-webkit-overflow-scrolling: touch; /* iOS 中的平滑滚动 */
|
20 |
+
}
|
21 |
+
|
22 |
+
.multiline {
|
23 |
+
overflow-x: auto !important; /* 让容器水平滚动 */
|
24 |
+
-webkit-overflow-scrolling: touch; /* iOS 中的平滑滚动 */
|
25 |
}
|
26 |
|
27 |
.gradio-container.gradio-container-5-43-1 .contain .tab-buttons button {
|
28 |
font-size: 14px !important;
|
29 |
+
overflow-x: auto !important; /* 让容器水平滚动 */
|
30 |
+
-webkit-overflow-scrolling: touch; /* iOS 中的平滑滚动 */
|
31 |
}
|
32 |
|
33 |
|