From d80419c4799bc414dc928b67fd90706a5b6906ec Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 19 May 2023 17:56:31 +0200 Subject: [PATCH] Fix calculation of the grayed out area --- wcfsetup/install/files/style/ui/embeddedContent.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/style/ui/embeddedContent.scss b/wcfsetup/install/files/style/ui/embeddedContent.scss index d50a4bccc4..ef2db3e164 100644 --- a/wcfsetup/install/files/style/ui/embeddedContent.scss +++ b/wcfsetup/install/files/style/ui/embeddedContent.scss @@ -87,7 +87,7 @@ .embeddedContentDescription { color: var(--wcfContentDimmedText); - max-height: calc(5 * #{var(--wcfFontLineHeight)}em); + max-height: calc(5em * #{var(--wcfFontLineHeight)}); overflow: hidden; position: relative; @@ -99,10 +99,10 @@ ); content: ""; left: 0; - height: #{var(--wcfFontLineHeight)}em; + height: calc(1em * #{var(--wcfFontLineHeight)}); position: absolute; right: 0; - top: calc(4 * #{var(--wcfFontLineHeight)}em); + top: calc(4em * #{var(--wcfFontLineHeight)}); } } -- 2.20.1