1
0
Fork 0
forked from forgejo/forgejo

Disallow selecting the text of buttons (#19330)

Introduce a CSS class `.unselectable`
This commit is contained in:
delvh 2022-04-14 10:57:19 +02:00 committed by GitHub
parent 3255ba9305
commit 4dabc212c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 19 deletions

View file

@ -527,12 +527,7 @@
margin-right: 10px !important;
i {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
&:extend(.unselectable);
}
}