+
diff --git a/wechat/static/wx.css b/wechat/static/wx.css
index 7deb270..a360a76 100644
--- a/wechat/static/wx.css
+++ b/wechat/static/wx.css
@@ -3,7 +3,8 @@ html,
body {
word-break: normal;
word-wrap: break-word;
-}
+}
+
/* for single line hack */
.chatListColumn .nickName,
.chatListColumn .desc {
@@ -144,7 +145,9 @@ body {
text-align: center;
}
body {
- position: relative;
+ position: relative;
+ padding: 20px 0;
+ box-sizing: border-box;
}
a,
input {
@@ -813,7 +816,7 @@ a.btnSecondary:active {
.chatPanel {
position: relative;
margin: 0 auto;
- padding: 40px 0 30px 0;
+ // padding: 40px 0 30px 0;
width: 600px;
border-radius: 4px;
text-align: center;
@@ -1278,7 +1281,7 @@ a.btnSecondary:active {
}
/*会è¯å†…容窗体*/
.chatPanel .chatScorll {
- height: 100%;
+ height: calc(100vh - 42px - 40px); // 42px topbar 40px bodyPadding
width: 100%;
min-height: 200px;
overflow: hidden;