mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-06-07 16:17:50 +00:00
Avoid mode switch button shifting
This commit is contained in:
parent
5d6014ecee
commit
6335991164
@ -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…
x
Reference in New Issue
Block a user