Prevent the back-to-top button from flickering when switching the theme mode

This commit is contained in:
Cotes Chung 2021-09-23 21:40:31 +08:00
parent 387fc67102
commit 50c88f7205
1 changed files with 2 additions and 2 deletions

View File

@ -1099,8 +1099,8 @@ $sidebar-display: "sidebar-display";
height: $size; height: $size;
border-radius: 50%; border-radius: 50%;
border: 1px solid var(--btn-backtotop-border-color); border: 1px solid var(--btn-backtotop-border-color);
transition: 0.2s ease-out; transition: transform 0.2s ease-out;
-webkit-transition: 0.2s ease-out; -webkit-transition: transform 0.2s ease-out;
i { i {
line-height: $size; line-height: $size;