Skip to content

A platform for community discussion. Free, open, simple.

UX: make lightbox hover caption unselectable (#35148)

David Battersby3c8d6504be9f
diff --git a/app/assets/stylesheets/common/base/lightbox.scss b/app/assets/stylesheets/common/base/lightbox.scss
index fc179ad0dc3..f483537ff38 100644
--- a/app/assets/stylesheets/common/base/lightbox.scss
+++ b/app/assets/stylesheets/common/base/lightbox.scss
@@ -4,6 +4,7 @@
overflow: hidden;
&:hover .meta {
+ user-select: none;
opacity: 0.9;
transition: opacity 0.5s;
}