From ac5d087ea4fc9ba14dbebe1254b75ea5221402ec Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 2 Nov 2017 15:55:56 +0800 Subject: [PATCH] style:refine sidebar css --- src/styles/sidebar.scss | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 4ec656ba..c00dd25f 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -8,26 +8,24 @@ // 侧边栏 .hideSidebar { .sidebar-container { - width: 36px!important; // overflow: inherit; + width: 36px!important; + overflow: inherit; } .main-container { margin-left: 36px; } } -// .horizontal-collapse-transition{ -// transition: width 0.28s!important; -// } .sidebar-container { - // transition: width 0.28s ease-out; - transition: width 0.28s!important; + transition: width 0.28s; width: 180px!important; height: 100%; position: fixed; top: 0; bottom: 0; left: 0; - z-index: 1001; // overflow-y: auto; + z-index: 1001; + overflow-y: auto; &::-webkit-scrollbar { display: none }