Avoid mode switch button shifting
This commit is contained in:
parent
5d6014ecee
commit
6335991164
1 changed files with 2 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue