diff --git a/app/components/post_gallery_component/post_gallery_component.scss b/app/components/post_gallery_component/post_gallery_component.scss index 6f52c3cc7..6bed5e583 100644 --- a/app/components/post_gallery_component/post_gallery_component.scss +++ b/app/components/post_gallery_component/post_gallery_component.scss @@ -1,9 +1,3 @@ -.post-gallery { - .post-preview-image { - max-width: 100%; - } -} - .post-gallery-inline { .posts-container { overflow-x: auto; diff --git a/app/components/post_preview_component/post_preview_component.scss b/app/components/post_preview_component/post_preview_component.scss index 5fc7dc8fb..fe99103ab 100644 --- a/app/components/post_preview_component/post_preview_component.scss +++ b/app/components/post_preview_component/post_preview_component.scss @@ -40,7 +40,7 @@ article.post-preview { } .post-preview-image { - width: auto; + max-width: 100%; height: auto; }