Merge pull request #49 from agmm/master

Fixed accidental text selection
This commit is contained in:
Djordje Atlialp 2019-09-08 20:30:44 +02:00 committed by GitHub
commit b2f7b9eabf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
node_modules node_modules
.vscode

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>