From 4d8255a51c8ae429a0ff03cef62beb63ab5945e2 Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Wed, 3 Mar 2021 19:06:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E7=AB=AF=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E5=8A=A8=E6=80=81=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/common.css | 4 +++- static/html/chat_main.html | 2 +- static/html/main.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/static/css/common.css b/static/css/common.css index 141fecf..c2768f8 100644 --- a/static/css/common.css +++ b/static/css/common.css @@ -411,7 +411,9 @@ } .kefuFuncBox{ position: absolute; - bottom: 64px; + bottom: 0px; width: 100%; + padding-bottom: 10px; + background: #fff; } .clear{clear:both;} \ No newline at end of file diff --git a/static/html/chat_main.html b/static/html/chat_main.html index fd43956..16ab33a 100644 --- a/static/html/chat_main.html +++ b/static/html/chat_main.html @@ -27,7 +27,7 @@ } .chatBoxMe .el-col-3{float: right;text-align: right;} .chatBoxMe .chatUser{text-align: right} - .chatBox{width: 100%;height:380px;overflow-y: auto;overflow-x: hidden;} + .chatBox{width: 100%;height:calc(100% - 175px);;overflow-y: auto;overflow-x: hidden;} .chatTime{text-align: center;color: #bbb;margin: 5px 0;font-size: 12px;} .funcBtns{margin: 2px 0px;color: #7f7f7f;border-bottom: 1px solid #e6e6e6;font-size: 12px;padding: 5px 0px;} diff --git a/static/html/main.html b/static/html/main.html index ed55739..c818733 100644 --- a/static/html/main.html +++ b/static/html/main.html @@ -41,7 +41,7 @@ } .mainIframe{ width: 100%; - height: 100%; + height: calc(100% - 60px); } .el-card__body{ cursor: pointer;