From d16d2ec174acc705d2d687d3305f35988a18ce9b Mon Sep 17 00:00:00 2001 From: Baize <project-baize@users.noreply.huggingface.co> Date: Sat, 1 Apr 2023 11:14:38 +0000 Subject: [PATCH] Update assets/custom.css --- assets/custom.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/custom.css b/assets/custom.css index 9dd298a..8de8e5a 100644 --- a/assets/custom.css +++ b/assets/custom.css @@ -65,12 +65,18 @@ ol:not(.options), ul:not(.options) { #chuanhu_chatbot { height: calc(100vh - 280px); } + #chuanhu_chatbot .wrap { + max-height: calc(100vh - 280px - var(--line-sm)*1rem - 2*var(--block-label-margin) ); + } } /* 屏幕宽度小于500px的设备 */ @media screen and (max-width: 499px) { #chuanhu_chatbot { height: calc(100vh - 220px); } + #chuanhu_chatbot .wrap { + max-height: calc(100vh - 220px - var(--line-sm)*1rem - 2*var(--block-label-margin) ); + } } /* 对话气泡 */ [class *= "message"] {