Skip to content

A platform for community discussion. Free, open, simple.

UX: Shrink YouTube thumbnail in chat transcript (#33433)

Martin Brennan2ee7d055a2ec
diff --git a/plugins/chat/assets/stylesheets/common/chat-transcript.scss b/plugins/chat/assets/stylesheets/common/chat-transcript.scss
index fe176368b1a..c42c4aff1b2 100644
--- a/plugins/chat/assets/stylesheets/common/chat-transcript.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-transcript.scss
@@ -63,6 +63,13 @@
p:last-of-type {
margin-bottom: 0;
}
+
+ .lazy-video-container {
+ height: 150px;
+ max-width: calc(150px / 9 * 16);
+ margin: 1em 0 0.5em 0;
+ padding: 0;
+ }
}
.topic-body .cooked & {