Fix calculation of the grayed out area
authorMarcel Werk <burntime@woltlab.com>
Fri, 19 May 2023 15:56:31 +0000 (17:56 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 19 May 2023 15:56:31 +0000 (17:56 +0200)
wcfsetup/install/files/style/ui/embeddedContent.scss

index d50a4bccc4a9c9edcf292497d33aee32c29f9b87..ef2db3e164cb9c7e6f779a1b3e824bd182d716c3 100644 (file)
@@ -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;
 
                );
                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)});
        }
 }