From 2ae3102bccefaedbd654cb7bf30832dcd00c429c Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 31 Jul 2017 22:31:09 +0200 Subject: [PATCH] Prevent selection of diff line numbers --- public/css/index.css | 4 ++++ public/less/_repository.less | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/public/css/index.css b/public/css/index.css index 8e43a7e166fbc..d720f6e955bf8 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; diff --git a/public/less/_repository.less b/public/less/_repository.less index a81d92871db65..2b254123e4d27 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;