From: Alexander Ebert Date: Fri, 9 Apr 2021 10:07:10 +0000 (+0200) Subject: Use a separate shadow link for embedded content X-Git-Tag: 5.3.6~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4732fefb3710690f689ae03171c557fd3b9a14d6;p=GitHub%2FWoltLab%2FWCF.git Use a separate shadow link for embedded content Avoid conflicts with complex HTML inside the excerpt similar to how articles work. --- diff --git a/wcfsetup/install/files/style/ui/embeddedContent.scss b/wcfsetup/install/files/style/ui/embeddedContent.scss index 2b8dc8c4b6..999292530c 100644 --- a/wcfsetup/install/files/style/ui/embeddedContent.scss +++ b/wcfsetup/install/files/style/ui/embeddedContent.scss @@ -3,11 +3,21 @@ border: 1px solid $wcfContentBorderInner; border-radius: 3px; margin: 10px 0; + max-width: 600px; } .embeddedContentLink { display: block; padding: 10px; + position: relative; +} + +.embeddedContentLinkShadow { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; } .embeddedContentCategory {