From 6234db924e572e3106ccdf7450621af29486f753 Mon Sep 17 00:00:00 2001 From: Jiankian Date: Wed, 16 Jan 2019 15:05:12 +0800 Subject: [PATCH] pref[Hamburger]: refactor Hamburger component (#1528) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 美化侧栏菜单切换按钮 * tweak --- src/components/Hamburger/index.vue | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue index 26472e23..220d67ec 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -2,26 +2,13 @@
- - - +
@@ -48,12 +35,8 @@ export default { cursor: pointer; width: 20px; height: 20px; - transform: rotate(90deg); - transition: .38s; - transform-origin: 50% 50%; } - .hamburger.is-active { - transform: rotate(0deg); + transform: rotate(180deg); }