From 454c45cf94e744c5f1f0585c74e60ffa18634143 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Thu, 8 Jan 2026 03:18:12 +0900 Subject: Fix css - Fix tr.nohover behavior --- www/cgit.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/cgit.css b/www/cgit.css index c0435e0..1119601 100644 --- a/www/cgit.css +++ b/www/cgit.css @@ -230,14 +230,18 @@ div#cgit table.list tr { border-bottom: 1px solid var(--color-surface-container-high); } -div#cgit table.list tr:nth-child(even) { +div#cgit table.list tr:not(.nohover):nth-child(even) { background: var(--color-surface-container-lowest); } -div#cgit table.list tr:hover { +div#cgit table.list tr:not(.nohover):hover { background: var(--color-surface-container-high); } +div#cgit table.list tr.nohover { + border: none; +} + div#cgit table.list th { text-align: left; font-weight: 600; -- cgit v1.2.3