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 {
|
@if $dark-mode {
|
||||||
@include dark-scheme;
|
@include dark-scheme;
|
||||||
.mode-toggle {
|
.mode-toggle {
|
||||||
transform: rotate(180deg);
|
transform: rotateY(180deg);
|
||||||
}
|
}
|
||||||
} @else {
|
} @else {
|
||||||
@include light-scheme;
|
@include light-scheme;
|
||||||
.mode-toggle {
|
.mode-toggle {
|
||||||
transform: rotate(360deg);
|
transform: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -192,10 +192,6 @@ $sidebar-display: "sidebar-display";
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: 1px;
|
bottom: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mode-toggle {
|
|
||||||
transition: all .5s !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-border {
|
.icon-border {
|
||||||
|
|
Loading…
Reference in a new issue