From 91a04893d6703cb139dbcb01a23ad6548f2ccc7b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 27 Aug 2026 04:20:44 -1000 Subject: Replace `nbsp` spacing with CSS --- assets/cgit.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'assets/cgit.css') 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 v2.8.0