Skip to content

Node.js based forum software built for the modern web

fixes #5141

Julian Lamafc182478b25
diff --git a/public/js-enabled.css b/public/js-enabled.css
index f59881974e..2fddb0542f 100644
--- a/public/js-enabled.css
+++ b/public/js-enabled.css
@@ -2,6 +2,6 @@
The following stylesheet is only included on pages that can execute javascript
*/
-[component="post/content"] img:not(.not-responsive):not([data-state]) {
+.page-topic [component="post/content"] img:not(.not-responsive):not([data-state]) {
display: none !important;
}
\ No newline at end of file
diff --git a/public/less/global.less b/public/less/global.less
index d606b8221c..a4c838dbbf 100644
--- a/public/less/global.less
+++ b/public/less/global.less
@@ -7,7 +7,7 @@
*/
/* Prevent viewport shuffling on image load by restricting image dimensions until viewed by the browser */
-[component="post/content"] img {
+.page-topic [component="post/content"] img {
transition: width 500ms ease;
transition: height 500ms ease;
transition: opacity 500ms ease;