🌈style(view): fix body scroll (#84)
Co-authored-by: lqzh <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
lqzh
parent
a841e342cb
commit
52fb966dc5
@@ -9,8 +9,8 @@
|
||||
|
||||
<body>
|
||||
<div id="chat" class="chatPanel normalPanel">
|
||||
<div class="chatMainPanel" id="chatMainPanel" style="padding-top:40px;">
|
||||
<div class="chatTitle" style="margin-top: -40px;">
|
||||
<div class="chatMainPanel" id="chatMainPanel">
|
||||
<div class="chatTitle">
|
||||
<div class="chatNameWrap">
|
||||
<p class="chatName" id="messagePanelTitle">{chat}</p>
|
||||
</div>
|
||||
|
||||
Vendored
+7
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user