Fix missing border-radius on embedded Twitter tweets
authorMarcel Werk <burntime@woltlab.com>
Mon, 6 Nov 2023 13:15:34 +0000 (14:15 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 6 Nov 2023 13:15:34 +0000 (14:15 +0100)
wcfsetup/install/files/style/bbcode/media.scss

index d48cce4b0d24c062d16dd3aed62ad79f7c838f6d..adf19deba84c3af757159caeafd40281e6248dc1 100644 (file)
@@ -32,3 +32,8 @@ iframe.instagram-media {
        /* Prevent the <iframe> from overlapping adjacent elements. */
        position: relative !important;
 }
+
+.twitter-tweet > iframe {
+       /* Workaround for ugly border in embedded tweets. */
+       border-radius: 13px;
+}