Skip to content

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

FIX: Constrain official notice image dimensions to prevent topic layout disruption (#42177)

Isaac Janzen2e4ac730a4db
diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss
index 5a5f42cfa3b..cf4eb650cc3 100644
--- a/app/assets/stylesheets/common/base/topic-post.scss
+++ b/app/assets/stylesheets/common/base/topic-post.scss
@@ -1866,6 +1866,17 @@ a.reply-to-tab {
color: var(--primary-high);
}
+ .post-notice-message {
+ flex: 1;
+ min-width: 0;
+
+ img:not(.emoji) {
+ max-width: 100%;
+ height: auto;
+ display: inline-block;
+ }
+ }
+
p {
display: inline;
margin: 0;