Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix(chat): limit image size within a chat message

Gabe Kangasae9c71b292b1
diff --git a/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss b/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss
index 1356c0efc1..3726f74bd6 100644
--- a/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss
+++ b/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss
@@ -36,6 +36,12 @@
border-radius: var(--chat-text-highlight-border-radius);
background-color: var(--color-owncast-palette-7);
}
+
+ img {
+ max-width: 100%;
+ max-height: 30vh;
+ object-fit: contain;
+ }
}
a {