Skip to content

Commit c443e95

Browse files
committed
Feature for /issues/102 Keep file name visible.
Shows the file names above each column of the code diffs even when you scroll down a long diff.
1 parent f327a7e commit c443e95

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webdiff/static/css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ div#thediff {
33
max-width: 100%;
44
}
55

6+
.diff-header {
7+
top: 0px;
8+
position: sticky;
9+
background: white;
10+
}
11+
612
.diff .line-no, .diff .code {
713
font-family: Inconsolata, Consolas, "Liberation Mono", Menlo, Courier, monospace;
814
font-size: 13px;

0 commit comments

Comments
 (0)