header: disable user-select for theme-toggle (#52)

* fix: clicking twice on theme switch selects other text on the nav-bar.
This commit is contained in:
Zhangyuan Nie 2020-10-20 01:08:43 -04:00 committed by GitHub
parent c0ba1ce20d
commit ea9aa38573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@
.theme-toggle svg {
height: 18px;
margin: 0 10px;
user-select: none;
}
body.dark #moon{