diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 9825e814e7..d80440f25e 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -196,6 +196,7 @@ $quote-share-maxwidth: 150px; img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji) { max-width: 100%; height: auto; + display: inline-block; // Ensure dimensions are maintained even after load error @supports not (aspect-ratio: 1) { // (see javascripts/discourse/app/initializers/image-aspect-ratio.js)