Skip to content

Commit

Permalink
Prevent selection of diff line numbers (#2240)
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind authored and lunny committed Aug 1, 2017
1 parent a804f0e commit 31411a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions public/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31411a9

Please sign in to comment.