From acaa6bb26946d8332f4dcf3814f39c3fe65554ee Mon Sep 17 00:00:00 2001 From: Pan Date: Tue, 13 Jun 2017 16:48:47 +0800 Subject: [PATCH] refine sidebar css --- src/views/layout/Layout.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/layout/Layout.vue b/src/views/layout/Layout.vue index 693456ca..d60811ff 100644 --- a/src/views/layout/Layout.vue +++ b/src/views/layout/Layout.vue @@ -59,12 +59,17 @@ bottom: 0; left: 0; z-index: 1001; - overflow-x: hidden; + overflow: hidden; transition: all .28s ease-out; - @include scrollBar; } .sidebar-container { transition: all .28s ease-out; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: -17px; + overflow-y: scroll; } .main-container { min-height: 100%;