mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
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:
@@ -4,6 +4,7 @@
|
||||
overflow: hidden;
|
||||
|
||||
&:hover .meta {
|
||||
user-select: none;
|
||||
opacity: 0.9;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user