From 91fd18ba2fc279bc03a011456648325e8bacc041 Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Thu, 20 Aug 2020 11:44:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0media=20query?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/html/chat_page.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/html/chat_page.html b/static/html/chat_page.html index c637eb3..eadfed2 100644 --- a/static/html/chat_page.html +++ b/static/html/chat_page.html @@ -73,6 +73,11 @@ .chatBoxMe .chatUser{text-align: right} .chatBoxMe .chatContent:after{left:auto;right: -10px;} .chatArea{float: left;width: 76%;margin: 4px 0 0 4px;} + @media screen and (max-width: 500px) { + .chatArea { + width: 60%; + } + } .btnArea{width: 20%;float: right;} .chatTitle{height: 30px;line-height: 30px;color: #1989fa} .chatBoxSend{background: #fff;position: fixed;bottom: 0;width: 100%;height: 67px;max-width: 800px;}