From 294b1260d3f7b15437cbc802295f2f36a86bd409 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 30 Jul 2025 14:50:11 +0200 Subject: only change cursor if the rule is not already selected Fixes: fabeb1da13bf86eeca2f78f5d4171c78975fcfd9. --- html/template.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'html') diff --git a/html/template.html b/html/template.html index d6d33bc8..146466d1 100644 --- a/html/template.html +++ b/html/template.html @@ -263,10 +263,13 @@ $if(toc)$ } $endif$ +li.linkable-rule:not(.highlighted) { + cursor: pointer; +} + li.linkable-rule.highlighted { background-color: var(--highlight-bg); list-style-image: url(link.svg); - cursor: pointer; } li.linkable-rule.highlighted ol { -- cgit v1.2.3