diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Replace `nbsp` spacing with CSS
Diffstat (limited to 'assets/cgit.css')
| -rw-r--r-- | assets/cgit.css | 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 6 insertions, 0 deletions
diff --git a/assets/cgit.css b/assets/cgit.css index ef6c316..ca2ce4b 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -426,6 +426,12 @@ div#cgit table.list tr.nohover:hover { background: var(--bg); } +/* Spacer rows between sections hold one empty cell. Cell height counts the + border box, so the vertical padding is added back on top of the line. */ +div#cgit table.list tr.nohover td:empty { + height: calc(1lh + 0.6em); +} + div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { background: var(--surface-2); } |
