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"] {