aboutsummaryrefslogtreecommitdiffstats
path: root/public/less
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/less
parenta804f0e052300032e2aa84518f7b4c95736a5718 (diff)
downloadgitea-31411a9462533abb0ca0866c2dccfd9b1ddf553e.tar.gz
gitea-31411a9462533abb0ca0866c2dccfd9b1ddf553e.zip
Prevent selection of diff line numbers (#2240)
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_repository.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index a81d92871d..2b254123e4 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -913,6 +913,10 @@
color: #A7A7A7;
background: #fafafa;
width: 1%;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
span.fold {
display: block;