From 908a0bf3e0fd64727f97f1fc7fec582a6d5d889b Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 8 Dec 2021 20:28:58 -0600 Subject: [PATCH] posts: show 2 thumbnails per row on mobile instead of 3. Fix regression in e8f9e3ab2 after adding adjustable thumbnail sizes. --- .../post_gallery_component/post_gallery_component.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/post_gallery_component/post_gallery_component.scss b/app/components/post_gallery_component/post_gallery_component.scss index 6bed5e583..de93bdcb8 100644 --- a/app/components/post_gallery_component/post_gallery_component.scss +++ b/app/components/post_gallery_component/post_gallery_component.scss @@ -29,7 +29,7 @@ &.post-gallery-360 .posts-container { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); } @media screen and (max-width: 660px) { - &.post-gallery-150 .posts-container { grid-template-columns: repeat(3, auto); } + &.post-gallery-150 .posts-container { grid-template-columns: repeat(2, auto); } &.post-gallery-180 .posts-container { grid-template-columns: repeat(2, auto); } &.post-gallery-225 .posts-container { grid-template-columns: repeat(2, auto); } &.post-gallery-225w .posts-container { grid-template-columns: repeat(2, auto); }