Unified width of the unfurl card
authorMarcel Werk <burntime@woltlab.com>
Mon, 14 Jun 2021 12:43:26 +0000 (14:43 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 14 Jun 2021 12:43:26 +0000 (14:43 +0200)
wcfsetup/install/files/style/ui/unfurlUrl.scss

index b1eabed5a6fe6f0ac4aa2bb5b6318afed5a8dfa8..0fd6fe1d2f59e8e56554b9f58d3b2ef3a05591f0 100644 (file)
@@ -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;