diff options
author | silverwind <me@silverwind.io> | 2017-08-01 04:27:17 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-08-01 10:27:17 +0800 |
commit | 31411a9462533abb0ca0866c2dccfd9b1ddf553e (patch) | |
tree | 356055fa26a39334fb9b4151e0a0136d89c0df7e /public/css | |
parent | a804f0e052300032e2aa84518f7b4c95736a5718 (diff) | |
download | gitea-31411a9462533abb0ca0866c2dccfd9b1ddf553e.tar.gz gitea-31411a9462533abb0ca0866c2dccfd9b1ddf553e.zip |
Prevent selection of diff line numbers (#2240)
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/index.css | 4 |
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; |