优化chatbot 显示效果,重写chatbot的css 代码,让其最大不超过父元素

This commit is contained in:
w_xiaolizu
2023-06-04 23:16:24 +08:00
parent 7b83ba6c47
commit 12c4609712
4 changed files with 19 additions and 13 deletions

View File

@ -130,9 +130,15 @@ textarea {
#main_chatbot {
height: 75vh !important;
max-height: 75vh !important;
overflow: auto !important;
/* overflow: auto !important; */
z-index: 2;
}
.wrap.svelte-18telvq.svelte-18telvq {
padding: var(--block-padding) !important;
height: 100% !important;
max-height: 95% !important;
overflow-y: auto !important;
}
.app.svelte-1mya07g.svelte-1mya07g {
max-width: 100%;
position: relative;
@ -187,7 +193,7 @@ textarea {
max-width: 95%;
color: #ccd2db !important;
letter-spacing: 0.5px;
font-weight: normal;
font-weight: normal;
/* width: auto !important; */
border-bottom-left-radius: 0 !important;
}