From bb50a7422d48661dc7e866599827785c2257d68d 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 04c5881a..2c125570 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -2,26 +2,13 @@
- - - +
@@ -49,12 +36,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); }