From: Marcel Werk Date: Fri, 19 May 2023 15:56:31 +0000 (+0200) Subject: Fix calculation of the grayed out area X-Git-Tag: 6.0.0_Alpha_1~79^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d80419c4799bc414dc928b67fd90706a5b6906ec;p=GitHub%2FWoltLab%2FWCF.git Fix calculation of the grayed out area --- 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)}); } }