projects
/
rainny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73dc05
)
Fix link visible inside spoiler (#2215)
author
Ajay Bura
<32841439+ajbura@users.noreply.github.com>
Wed, 19 Feb 2025 11:07:33 +0000
(22:07 +1100)
committer
GitHub
<noreply@github.com>
Wed, 19 Feb 2025 11:07:33 +0000
(22:07 +1100)
* hide links in spoiler
* prevent link click inside spoiler
src/index.scss
patch
|
blob
|
history
diff --git
a/src/index.scss
b/src/index.scss
index 563f611f7db50fa1a0ad9147769995778892d3e4..14bf47493f0a5e93aca274f19db62948e0735529 100644
(file)
--- a/
src/index.scss
+++ b/
src/index.scss
@@
-427,6
+427,12
@@
a {
text-decoration: underline;
}
}
+
+[data-mx-spoiler][aria-pressed='true'] a {
+ color: transparent;
+ pointer-events: none;
+}
+
b {
font-weight: var(--fw-medium);
}