From 090537d09a6ebc34480a8748277c9b010d355105 Mon Sep 17 00:00:00 2001 From: Pan Date: Mon, 8 May 2017 12:29:05 +0800 Subject: [PATCH] fix css --- src/components/Sticky/index.vue | 2 +- src/views/layout/Layout.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Sticky/index.vue b/src/components/Sticky/index.vue index a5bf2d5a..4cf6af45 100644 --- a/src/components/Sticky/index.vue +++ b/src/components/Sticky/index.vue @@ -17,7 +17,7 @@ }, zIndex: { type: Number, - default: 1000 + default: 1 }, className: { type: String diff --git a/src/views/layout/Layout.vue b/src/views/layout/Layout.vue index 294819b9..ddc828ad 100644 --- a/src/views/layout/Layout.vue +++ b/src/views/layout/Layout.vue @@ -69,6 +69,7 @@ } &:hover { transform: translate(0, 0); + z-index: 1001; .sidebar-container { transform: translate(0, 0); }