Update assets/custom.css

This commit is contained in:
Baize 2023-04-01 11:17:43 +00:00 committed by huggingface-web
parent d16d2ec174
commit 2ca5055a36
1 changed files with 1 additions and 6 deletions

View File

@ -65,18 +65,13 @@ ol:not(.options), ul:not(.options) {
#chuanhu_chatbot { #chuanhu_chatbot {
height: calc(100vh - 280px); height: calc(100vh - 280px);
} }
#chuanhu_chatbot .wrap {
max-height: calc(100vh - 280px - var(--line-sm)*1rem - 2*var(--block-label-margin) );
}
} }
/* 屏幕宽度小于500px的设备 */ /* 屏幕宽度小于500px的设备 */
@media screen and (max-width: 499px) { @media screen and (max-width: 499px) {
#chuanhu_chatbot { #chuanhu_chatbot {
height: calc(100vh - 220px); height: calc(100vh - 220px);
} }
#chuanhu_chatbot .wrap {
max-height: calc(100vh - 220px - var(--line-sm)*1rem - 2*var(--block-label-margin) );
}
} }
/* 对话气泡 */ /* 对话气泡 */
[class *= "message"] { [class *= "message"] {