Skip to content

Commit acaa6bb

Browse files
committed
refine sidebar css
1 parent 7d6917a commit acaa6bb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/views/layout/Layout.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,17 @@
5959
bottom: 0;
6060
left: 0;
6161
z-index: 1001;
62-
overflow-x: hidden;
62+
overflow: hidden;
6363
transition: all .28s ease-out;
64-
@include scrollBar;
6564
}
6665
.sidebar-container {
6766
transition: all .28s ease-out;
67+
position: absolute;
68+
top: 0;
69+
bottom: 0;
70+
left: 0;
71+
right: -17px;
72+
overflow-y: scroll;
6873
}
6974
.main-container {
7075
min-height: 100%;

0 commit comments

Comments
 (0)