Prevent selection of diff line numbers (#2240)

tokarchuk/v1.17
silverwind 7 years ago committed by Lunny Xiao
parent a804f0e052
commit 31411a9462
  1. 4
      public/css/index.css
  2. 4
      public/less/_repository.less

@ -2069,6 +2069,10 @@ footer .ui.language .menu {
color: #A7A7A7; color: #A7A7A7;
background: #fafafa; background: #fafafa;
width: 1%; 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 { .repository .diff-file-box .file-body.file-code .lines-num span.fold {
display: block; display: block;

@ -913,6 +913,10 @@
color: #A7A7A7; color: #A7A7A7;
background: #fafafa; background: #fafafa;
width: 1%; width: 1%;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
span.fold { span.fold {
display: block; display: block;

Loading…
Cancel
Save