refine sidebar css

This commit is contained in:
Pan 2017-06-13 16:48:47 +08:00
parent 7d6917a5ef
commit acaa6bb269
1 changed files with 7 additions and 2 deletions

View File

@ -59,12 +59,17 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1001; z-index: 1001;
overflow-x: hidden; overflow: hidden;
transition: all .28s ease-out; transition: all .28s ease-out;
@include scrollBar;
} }
.sidebar-container { .sidebar-container {
transition: all .28s ease-out; transition: all .28s ease-out;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: -17px;
overflow-y: scroll;
} }
.main-container { .main-container {
min-height: 100%; min-height: 100%;