From 760c84aaad008be5bf62ca2979551202f8b072bb Mon Sep 17 00:00:00 2001 From: abhinav-grd Date: Thu, 16 Sep 2021 16:36:00 +0530 Subject: [PATCH 1/2] fix looped resize --- src/components/PhotoFrame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PhotoFrame.tsx b/src/components/PhotoFrame.tsx index 49af19661..f733af2da 100644 --- a/src/components/PhotoFrame.tsx +++ b/src/components/PhotoFrame.tsx @@ -53,7 +53,7 @@ const Container = styled.div` width: 100%; flex-wrap: wrap; margin: 0 auto; - + overflow: hidden; .pswp-thumbnail { display: inline-block; cursor: pointer; From 219c7aa8d738f73fe461596cdcdc5d719d88043a Mon Sep 17 00:00:00 2001 From: abhinav-grd Date: Mon, 20 Sep 2021 09:18:55 +0530 Subject: [PATCH 2/2] hide just overflow-x --- src/components/PhotoFrame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PhotoFrame.tsx b/src/components/PhotoFrame.tsx index f733af2da..5b2ffb104 100644 --- a/src/components/PhotoFrame.tsx +++ b/src/components/PhotoFrame.tsx @@ -53,7 +53,7 @@ const Container = styled.div` width: 100%; flex-wrap: wrap; margin: 0 auto; - overflow: hidden; + overflow-x: hidden; .pswp-thumbnail { display: inline-block; cursor: pointer;