From 96c6d48146475958b9f91c88732914d3d6f56ab8 Mon Sep 17 00:00:00 2001 From: GanNing Date: Tue, 13 Jun 2017 16:00:45 +0800 Subject: [PATCH] hide sidebar scrollbar Signed-off-by: GanNing --- src/views/layout/Layout.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/layout/Layout.vue b/src/views/layout/Layout.vue index 693456ca..f73e65af 100644 --- a/src/views/layout/Layout.vue +++ b/src/views/layout/Layout.vue @@ -54,17 +54,22 @@ } .sidebar-wrapper { width: 180px; + height: 100%; + overflow: hidden; position: fixed; top: 0; bottom: 0; left: 0; z-index: 1001; - overflow-x: hidden; transition: all .28s ease-out; @include scrollBar; } .sidebar-container { transition: all .28s ease-out; + height: 100%; + width: 195px; + overflow-x: hidden; + overflow-y: scroll; } .main-container { min-height: 100%;