diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-30 14:50:11 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:32 +0200 |
| commit | 294b1260d3f7b15437cbc802295f2f36a86bd409 (patch) | |
| tree | 4544677fcd04e46cf6a1b3617c73463123f758ee /html/template.html | |
| parent | 90eaae77619dd9b5e7b772245540f249a539a3c0 (diff) | |
| download | muhqs-game-294b1260d3f7b15437cbc802295f2f36a86bd409.tar.gz muhqs-game-294b1260d3f7b15437cbc802295f2f36a86bd409.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 { |
