refine sidebar css

This commit is contained in:
Pan 2017-05-12 16:27:23 +08:00
parent c74147f53c
commit b7f96a0ece

View file

@ -53,7 +53,6 @@
position: relative; position: relative;
height: 100%; height: 100%;
width: 100%; width: 100%;
padding-left: 180px;
&.hideSidebar { &.hideSidebar {
padding-left: 40px; padding-left: 40px;
.sidebar-wrapper { .sidebar-wrapper {
@ -69,6 +68,9 @@
} }
} }
} }
.main-container{
padding-left: 0px;
}
} }
.sidebar-wrapper { .sidebar-wrapper {
width: 180px; width: 180px;
@ -88,6 +90,7 @@
width: 100%; width: 100%;
min-height: 100%; min-height: 100%;
transition: all .28s ease-out; transition: all .28s ease-out;
padding-left: 180px;
} }
} }
</style> </style>