Skip to content

Commit

Permalink
Feature for /issues/102 Keep file name visible.
Browse files Browse the repository at this point in the history
Shows the file names above each column of the code diffs even when you scroll
down a long diff.
  • Loading branch information
daytonb committed Jul 7, 2018
1 parent f327a7e commit c443e95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webdiff/static/css/style.css
Expand Up @@ -3,6 +3,12 @@ div#thediff {
max-width: 100%;
}

.diff-header {
top: 0px;
position: sticky;
background: white;
}

.diff .line-no, .diff .code {
font-family: Inconsolata, Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 13px;
Expand Down

0 comments on commit c443e95

Please sign in to comment.