summaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2017-08-01 04:27:17 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-08-01 10:27:17 +0800
commit31411a9462533abb0ca0866c2dccfd9b1ddf553e (patch)
tree356055fa26a39334fb9b4151e0a0136d89c0df7e /public/css
parenta804f0e052300032e2aa84518f7b4c95736a5718 (diff)
downloadgitea-31411a9462533abb0ca0866c2dccfd9b1ddf553e.tar.gz
gitea-31411a9462533abb0ca0866c2dccfd9b1ddf553e.zip
Prevent selection of diff line numbers (#2240)
Diffstat (limited to 'public/css')
-rw-r--r--public/css/index.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css
index 8e43a7e166..d720f6e955 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -2069,6 +2069,10 @@ footer .ui.language .menu {
color: #A7A7A7;
background: #fafafa;
width: 1%;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
}
.repository .diff-file-box .file-body.file-code .lines-num span.fold {
display: block;