UX: make lightbox hover caption unselectable (#35148)

When quoting an image it is easy to accidentally select the image
caption as it appears on hovering the image. Because of this the caption
text also appears underneath the image (within the quote).

Making the caption text unselectable when hovering the image solves
this.
This commit is contained in:
David Battersby
2025-10-03 08:55:36 +04:00
committed by GitHub
parent c636f950d2
commit 3c8d6504be
@@ -4,6 +4,7 @@
overflow: hidden;
&:hover .meta {
user-select: none;
opacity: 0.9;
transition: opacity 0.5s;
}