优化页面样式,对齐市面上左导航右对话的布局|修复输入框为空时,调用功能仍正常对话
This commit is contained in:
15
theme.py
15
theme.py
@ -103,6 +103,20 @@ def adjust_theme():
|
||||
|
||||
|
||||
advanced_css = """
|
||||
#main_chatbot{
|
||||
height: 100vh;
|
||||
max-height: 75vh;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.app.svelte-1mya07g.svelte-1mya07g {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
/* margin: auto; */
|
||||
padding: var(--size-4);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.markdown-body table {
|
||||
margin: 1em 0;
|
||||
border-collapse: collapse;
|
||||
@ -128,6 +142,7 @@ advanced_css = """
|
||||
|
||||
/* chat box. */
|
||||
[class *= "message"] {
|
||||
gap: 7px !important;
|
||||
border-radius: var(--radius-xl) !important;
|
||||
/* padding: var(--spacing-xl) !important; */
|
||||
/* font-size: var(--text-md) !important; */
|
||||
|
||||
Reference in New Issue
Block a user