style:refine sidebar css

This commit is contained in:
Pan 2017-11-02 15:55:56 +08:00
parent c53fb7fbb1
commit ac5d087ea4
1 changed files with 5 additions and 7 deletions

View File

@ -8,26 +8,24 @@
// 侧边栏 // 侧边栏
.hideSidebar { .hideSidebar {
.sidebar-container { .sidebar-container {
width: 36px!important; // overflow: inherit; width: 36px!important;
overflow: inherit;
} }
.main-container { .main-container {
margin-left: 36px; margin-left: 36px;
} }
} }
// .horizontal-collapse-transition{
// transition: width 0.28s!important;
// }
.sidebar-container { .sidebar-container {
// transition: width 0.28s ease-out; transition: width 0.28s;
transition: width 0.28s!important;
width: 180px!important; width: 180px!important;
height: 100%; height: 100%;
position: fixed; position: fixed;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1001; // overflow-y: auto; z-index: 1001;
overflow-y: auto;
&::-webkit-scrollbar { &::-webkit-scrollbar {
display: none display: none
} }