Browse Source

Prevent selection of diff line numbers (#2240)

master
silverwind Lunny Xiao 8 years ago
parent
commit
31411a9462
2 changed files with 8 additions and 0 deletions
  1. +4
    -0
      public/css/index.css
  2. +4
    -0
      public/less/_repository.less

+ 4
- 0
public/css/index.css View File

@@ -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;


+ 4
- 0
public/less/_repository.less View File

@@ -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