Spaces:
Sleeping
Sleeping
Keldos
commited on
Commit
·
3f59dbe
1
Parent(s):
8b5c04c
WIP: fix some containers...
Browse files
ChuanhuChatbot.py
CHANGED
|
@@ -351,7 +351,6 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
|
|
| 351 |
)
|
| 352 |
|
| 353 |
with gr.Tab(label=i18n("关于"), elem_id="about-tab"):
|
| 354 |
-
gr.Markdown("\n\n")
|
| 355 |
gr.Markdown("")
|
| 356 |
gr.Markdown("# 川虎Chat")
|
| 357 |
gr.HTML(get_html("footer.html").format(versions=versions_html()), elem_id="footer")
|
|
|
|
| 351 |
)
|
| 352 |
|
| 353 |
with gr.Tab(label=i18n("关于"), elem_id="about-tab"):
|
|
|
|
| 354 |
gr.Markdown("")
|
| 355 |
gr.Markdown("# 川虎Chat")
|
| 356 |
gr.HTML(get_html("footer.html").format(versions=versions_html()), elem_id="footer")
|
web_assets/stylesheet/ChuanhuChat.css
CHANGED
|
@@ -55,7 +55,7 @@ body.popup-open {
|
|
| 55 |
|
| 56 |
/* 高级页面 */
|
| 57 |
#advanced-warning {
|
| 58 |
-
|
| 59 |
display: flex;
|
| 60 |
flex-wrap: wrap;
|
| 61 |
flex-direction: column;
|
|
@@ -628,6 +628,8 @@ body.popup-open {
|
|
| 628 |
height: calc(100% - 35px);
|
| 629 |
overflow-y: auto;
|
| 630 |
border-style: none;
|
|
|
|
|
|
|
| 631 |
}
|
| 632 |
#toolbox-area > .gradio-box > .gradio-tabs > div.tab-nav {
|
| 633 |
display: flex;
|
|
@@ -673,10 +675,12 @@ body.popup-open {
|
|
| 673 |
padding: 0;
|
| 674 |
height: 100%;
|
| 675 |
}
|
|
|
|
| 676 |
#toolbox-area > .gradio-box > .gradio-tabs > div.tabitem {
|
| 677 |
padding: 0;
|
| 678 |
-
|
| 679 |
-
}
|
|
|
|
| 680 |
#toolbox-area > .gradio-box > .gradio-tabs > div.tabitem > div > .gradio-markdown {
|
| 681 |
padding: 12px;
|
| 682 |
}
|
|
|
|
| 55 |
|
| 56 |
/* 高级页面 */
|
| 57 |
#advanced-warning {
|
| 58 |
+
margin-top: 0.5rem;
|
| 59 |
display: flex;
|
| 60 |
flex-wrap: wrap;
|
| 61 |
flex-direction: column;
|
|
|
|
| 628 |
height: calc(100% - 35px);
|
| 629 |
overflow-y: auto;
|
| 630 |
border-style: none;
|
| 631 |
+
padding: 0;
|
| 632 |
+
/* 理论上不该是0,但这里考虑内部gradio有好多container有padding了 */
|
| 633 |
}
|
| 634 |
#toolbox-area > .gradio-box > .gradio-tabs > div.tab-nav {
|
| 635 |
display: flex;
|
|
|
|
| 675 |
padding: 0;
|
| 676 |
height: 100%;
|
| 677 |
}
|
| 678 |
+
/*
|
| 679 |
#toolbox-area > .gradio-box > .gradio-tabs > div.tabitem {
|
| 680 |
padding: 0;
|
| 681 |
+
理论上不该是0,但这里考虑内部gradio有好多container有padding了
|
| 682 |
+
}
|
| 683 |
+
*/
|
| 684 |
#toolbox-area > .gradio-box > .gradio-tabs > div.tabitem > div > .gradio-markdown {
|
| 685 |
padding: 12px;
|
| 686 |
}
|
web_assets/stylesheet/override-gradio.css
CHANGED
|
@@ -9,6 +9,7 @@ div.form {
|
|
| 9 |
}
|
| 10 |
div.no-container {
|
| 11 |
padding: 10px 0 0 0 !important;
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
/* gradio的页脚信息 */
|
|
|
|
| 9 |
}
|
| 10 |
div.no-container {
|
| 11 |
padding: 10px 0 0 0 !important;
|
| 12 |
+
background: none !important;
|
| 13 |
}
|
| 14 |
|
| 15 |
/* gradio的页脚信息 */
|