From b7f96a0ecebfc98cb2efe1c8c8135c09fc2adf02 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 12 May 2017 16:27:23 +0800 Subject: [PATCH] refine sidebar css --- src/views/layout/Layout.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/layout/Layout.vue b/src/views/layout/Layout.vue index c47e58e..a5a011e 100644 --- a/src/views/layout/Layout.vue +++ b/src/views/layout/Layout.vue @@ -53,7 +53,6 @@ position: relative; height: 100%; width: 100%; - padding-left: 180px; &.hideSidebar { padding-left: 40px; .sidebar-wrapper { @@ -69,6 +68,9 @@ } } } + .main-container{ + padding-left: 0px; + } } .sidebar-wrapper { width: 180px; @@ -88,6 +90,7 @@ width: 100%; min-height: 100%; transition: all .28s ease-out; + padding-left: 180px; } } -- GitLab