From 4732fefb3710690f689ae03171c557fd3b9a14d6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 9 Apr 2021 12:07:10 +0200 Subject: [PATCH] Use a separate shadow link for embedded content Avoid conflicts with complex HTML inside the excerpt similar to how articles work. --- wcfsetup/install/files/style/ui/embeddedContent.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 { -- 2.20.1