hide sidebar scrollbar

Signed-off-by: GanNing <gycm520@gmail.com>
This commit is contained in:
GanNing 2017-06-13 16:00:45 +08:00
parent 7d6917a5ef
commit 96c6d48146
1 changed files with 6 additions and 1 deletions

View File

@ -54,17 +54,22 @@
} }
.sidebar-wrapper { .sidebar-wrapper {
width: 180px; width: 180px;
height: 100%;
overflow: hidden;
position: fixed; position: fixed;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1001; z-index: 1001;
overflow-x: hidden;
transition: all .28s ease-out; transition: all .28s ease-out;
@include scrollBar; @include scrollBar;
} }
.sidebar-container { .sidebar-container {
transition: all .28s ease-out; transition: all .28s ease-out;
height: 100%;
width: 195px;
overflow-x: hidden;
overflow-y: scroll;
} }
.main-container { .main-container {
min-height: 100%; min-height: 100%;