From 63359911646dbfc59941f4d026b6cb3a2141e623 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sun, 6 Dec 2020 14:09:47 +0800 Subject: [PATCH] Avoid mode switch button shifting --- assets/css/_addon/main.scss | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/assets/css/_addon/main.scss b/assets/css/_addon/main.scss index 82dc39c..32dda1b 100644 --- a/assets/css/_addon/main.scss +++ b/assets/css/_addon/main.scss @@ -17,12 +17,12 @@ @if $dark-mode { @include dark-scheme; .mode-toggle { - transform: rotate(180deg); + transform: rotateY(180deg); } } @else { @include light-scheme; .mode-toggle { - transform: rotate(360deg); + transform: none; } } } @@ -192,10 +192,6 @@ $sidebar-display: "sidebar-display"; position: relative; bottom: 1px; } - - .mode-toggle { - transition: all .5s !important; - } } .icon-border {