Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Write the side-by-side diff borders once
| -rw-r--r-- | assets/cgit.css | 15 |
1 file changed, 6 insertions, 9 deletions
diff --git a/assets/cgit.css b/assets/cgit.css index 0d85b68..e1fbfa9 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -1228,16 +1228,15 @@ div#cgit table.ssdiff td.lineno { min-width: 3em; } -div#cgit table.ssdiff td.hunk { - color: var(--fg); - background: var(--ss-hunk-bg); +div#cgit table.ssdiff td.hunk, +div#cgit table.ssdiff td.head { border-top: solid 1px var(--border-mid); border-bottom: solid 1px var(--border-mid); } -div#cgit table.ssdiff td.head { - border-top: solid 1px var(--border-mid); - border-bottom: solid 1px var(--border-mid); +div#cgit table.ssdiff td.hunk { + color: var(--fg); + background: var(--ss-hunk-bg); } div#cgit table.ssdiff td.head div.head { @@ -1246,10 +1245,8 @@ div#cgit table.ssdiff td.head div.head { } div#cgit table.ssdiff td.foot { + border: none; border-top: solid 1px var(--border-mid); - border-left: none; - border-right: none; - border-bottom: none; } div#cgit table.ssdiff td.space { |
