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;