From: Alexander Ebert Date: Sun, 10 Dec 2017 17:55:54 +0000 (+0100) Subject: Suppress embedded attachments in popovers from appearing as clickable content X-Git-Tag: 3.1.0_Beta_4~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e8547f54629f320bb212bf6082c4495112a81cd0;p=GitHub%2FWoltLab%2FWCF.git Suppress embedded attachments in popovers from appearing as clickable content --- diff --git a/wcfsetup/install/files/style/ui/attachment.scss b/wcfsetup/install/files/style/ui/attachment.scss index c37699d772..1bcdf8b810 100644 --- a/wcfsetup/install/files/style/ui/attachment.scss +++ b/wcfsetup/install/files/style/ui/attachment.scss @@ -216,3 +216,9 @@ } } } + +.popoverContent .embeddedAttachmentLink, +.popoverContent .embeddedImageLink { + /* this will also suppress the link being displayed in the browser's "status bar" on hover */ + pointer-events: none; +}