From 625c71585623d891751b8abd291337fda3724947 Mon Sep 17 00:00:00 2001 From: Jan Cernik <66427541+jancernik@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:20:47 -0300 Subject: [PATCH] FIX: Lazy TikTok embeds height in chat (#27306) --- .../chat/assets/stylesheets/common/chat-message-images.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/chat/assets/stylesheets/common/chat-message-images.scss b/plugins/chat/assets/stylesheets/common/chat-message-images.scss index 238ab5fd7a1..f532182b426 100644 --- a/plugins/chat/assets/stylesheets/common/chat-message-images.scss +++ b/plugins/chat/assets/stylesheets/common/chat-message-images.scss @@ -78,5 +78,8 @@ $max_image_height: 150px; object-fit: contain; max-height: $max_image_height; max-width: calc(#{$max_image_height} / 9 * 16); + &:has(div[data-provider-name="tiktok"]) { + max-height: unset; + } } }