diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 14:50:11 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 14:50:11 +0200 |
| commit | fb3965c169013fff76622f684a545bf191274a7a (patch) | |
| tree | 2413c1b8538d7eb93d44316d7047c2fa87235eda /html/template.html | |
| parent | 81828460001d74c89d2b8819399fcb20d207c74a (diff) | |
| download | muhqs-game-fb3965c169013fff76622f684a545bf191274a7a.tar.gz muhqs-game-fb3965c169013fff76622f684a545bf191274a7a.zip | |
only change cursor if the rule is not already selected
Fixes: fabeb1da13bf86eeca2f78f5d4171c78975fcfd9.
Diffstat (limited to 'html/template.html')
| -rw-r--r-- | html/template.html | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |
