Fixed accidental text selection

This commit is contained in:
Arnaldo Gabriel 2019-08-12 21:26:19 -04:00
parent 1169c17518
commit 19fc94cd8f
2 changed files with 8 additions and 1 deletions

View file

@ -41,3 +41,10 @@
.theme-toggler { .theme-toggler {
fill: currentColor; fill: currentColor;
} }
.unselectable {
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}

View file

@ -13,7 +13,7 @@
</span> </span>
{{ end }} {{ end }}
<span class="theme-toggle">{{ partial "theme-icon.html" . }}</span> <span class="theme-toggle unselectable">{{ partial "theme-icon.html" . }}</span>
</span> </span>
</span> </span>
</header> </header>