From 3896a932657d209ddf4a3e72f701197ae0b27361 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 15:33:32 -1000 Subject: Fix the submodule rows in the tree listing A submodule row linked to a path with its trailing slash stripped, was labelled by its path rather than its entry name, shared the name's element with its hash, claimed a size of zero and offered a blame button that cannot work on a gitlink. --- assets/cgit.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'assets') diff --git a/assets/cgit.css b/assets/cgit.css index 6a87faf..ef6c316 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -676,6 +676,19 @@ div#cgit .ls-mod { font-family: var(--font-mono); } +div#cgit table.list td .ls-mod { + font-style: italic; +} + +div#cgit table.list td a.ls-mod { + color: var(--link); +} + +div#cgit .ls-mod-hash { + color: var(--muted); + font-family: var(--font-mono); +} + div#cgit td.ls-size { text-align: right; font-family: var(--font-mono); -- cgit v2.8.0