Skip to content

Commit

Permalink
Merge pull request #305 from rtfpessoa/fix-side-by-side-linenumber
Browse files Browse the repository at this point in the history
Fix side by side linenumber
  • Loading branch information
rtfpessoa authored Feb 9, 2020
2 parents 0cc9550 + bdd88f4 commit 4a3ed66
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/ui/css/diff2html.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 0.5em 0 0.5em;
}

.d2h-code-side-linenumber:after {
Expand All @@ -204,6 +205,17 @@
border-color: #e1e1e1;
}

.d2h-code-linenumber,
.d2h-code-side-linenumber,
.d2h-code-line-prefix {
user-select: none;
}

.d2h-code-linenumber,
.d2h-code-side-linenumber {
direction: rtl;
}

/*
* Changes Highlight
*/
Expand Down Expand Up @@ -334,9 +346,3 @@
.d2h-moved-tag {
border: #3572b0 1px solid;
}

.d2h-code-linenumber,
.d2h-code-side-linenumber,
.d2h-code-line-prefix {
user-select: none;
}

0 comments on commit 4a3ed66

Please sign in to comment.