From 533e1ed2861322b3b598797492f2a99f8d06841a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 14 Jun 2021 14:43:26 +0200 Subject: [PATCH] Unified width of the unfurl card --- wcfsetup/install/files/style/ui/unfurlUrl.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wcfsetup/install/files/style/ui/unfurlUrl.scss b/wcfsetup/install/files/style/ui/unfurlUrl.scss index b1eabed5a6..0fd6fe1d2f 100644 --- a/wcfsetup/install/files/style/ui/unfurlUrl.scss +++ b/wcfsetup/install/files/style/ui/unfurlUrl.scss @@ -8,12 +8,10 @@ max-width: 100%; overflow: hidden; position: relative; - width: 600px; + width: 400px; /* OG images are designed with a 2:1 aspect ratio. */ &.unfurlUrlCardCoverImage { - width: 400px; - .unfurlUrlImage { /* The `!important` is required because of `.messageBody > .messageText img`. */ height: 200px !important; -- 2.20.1