Fixed accidental text selection

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

View File

@ -41,3 +41,10 @@
.theme-toggler {
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>
{{ end }}
<span class="theme-toggle">{{ partial "theme-icon.html" . }}</span>
<span class="theme-toggle unselectable">{{ partial "theme-icon.html" . }}</span>
</span>
</span>
</header>