From f0c15dc399ef53a88c9ee12437d0d860d77d0666 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Fri, 4 Feb 2022 15:40:54 +0100 Subject: [PATCH] Revert "FIX: Image sizes were slightly off in some cases (#15678)" (#15815) This reverts commit eff0106efbf1cec02d46a13460fcd686591e64d8. It causes visible layout issues, especially on mobile. --- app/assets/stylesheets/common/base/topic-post.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 37ce8a326d1..4ca310e6c4f 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -191,6 +191,7 @@ $quote-share-maxwidth: 150px; img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji) { max-width: 100%; + height: auto; } }