Update showscrollbar and scrollbar to not clip chatbox

This commit is contained in:
Jeremy Zhang 2018-08-08 02:29:20 +00:00
parent 1f15627f45
commit 5921cb7a9b
2 changed files with 2 additions and 3 deletions

View File

@ -61,6 +61,7 @@ main {
min-height: calc(100vh - 80px); min-height: calc(100vh - 80px);
overflow-x: hidden; overflow-x: hidden;
height: 100%; height: 100%;
padding-bottom: 50px;
} }
footer { footer {
@ -185,8 +186,6 @@ nav .brand-logo {
#chatcontent { #chatcontent {
padding-left: 1%; padding-left: 1%;
padding-top: 1%; padding-top: 1%;
padding-bottom: 40px;
margin-bottom: 20px;
word-wrap: break-word; word-wrap: break-word;
} }

View File

@ -363,7 +363,7 @@
scrollbarTheme = "light"; scrollbarTheme = "light";
} }
$("main").mCustomScrollbar({ $("main").mCustomScrollbar({
alwaysShowScrollbar: showScrollbar, autoHideScrollbar: !showScrollbar,
theme: scrollbarTheme theme: scrollbarTheme
}); });