mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-24 19:41:37 +01:00
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:
parent
c0ba1ce20d
commit
ea9aa38573
@ -34,9 +34,10 @@
|
|||||||
margin-inline-end: 8px;
|
margin-inline-end: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-toggle svg{
|
.theme-toggle svg {
|
||||||
height: 18px;
|
height: 18px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.dark #moon{
|
body.dark #moon{
|
||||||
|
Loading…
Reference in New Issue
Block a user