diff options
author | delvh <dev.lh@web.de> | 2022-04-14 10:57:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 16:57:19 +0800 |
commit | 4dabc212c70d0cb0874d3af61d1ea24abd468f7e (patch) | |
tree | e791b3757b2aabea6c5587765c92ce4d89b22f50 /web_src/less/markup | |
parent | 3255ba93055e19d7ad4c4d57987c7111844127b3 (diff) | |
download | gitea-4dabc212c70d0cb0874d3af61d1ea24abd468f7e.tar.gz gitea-4dabc212c70d0cb0874d3af61d1ea24abd468f7e.zip |
Disallow selecting the text of buttons (#19330)
Introduce a CSS class `.unselectable`
Diffstat (limited to 'web_src/less/markup')
-rw-r--r-- | web_src/less/markup/content.less | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/web_src/less/markup/content.less b/web_src/less/markup/content.less index 3d99095424..c941c2c8a8 100644 --- a/web_src/less/markup/content.less +++ b/web_src/less/markup/content.less @@ -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); } } |