diff --git a/public/css/index.css b/public/css/index.css index cb9c12e2d9c..0d6112a168e 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -1404,6 +1404,10 @@ footer .ui.language .menu { color: #999; background: #f5f5f5; width: 1%; + -moz-user-select: none; + -ms-user-select: none; + -webkit-user-select: none; + user-select: none; } .repository.file.list #file-content .code-view .lines-num span { line-height: 20px; diff --git a/public/less/_repository.less b/public/less/_repository.less index 305ed1ab849..56249f3a9a8 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -274,6 +274,10 @@ color: #999; background: #f5f5f5; width: 1%; + -moz-user-select: none; + -ms-user-select: none; + -webkit-user-select: none; + user-select: none; span { line-height: 20px;