From d6c25c69d9474b68b3e94117daa296ecb4f41c2d Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 26 Aug 2026 22:17:14 -1000 Subject: Replace nbsp spacing with CSS --- assets/cgit.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'assets') 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); } -- cgit 2.12.1