From 3089ca2939f595b7ab79af065c6e0022bf3c73be Mon Sep 17 00:00:00 2001 From: Abhinav Date: Thu, 17 Mar 2022 15:28:16 +0530 Subject: [PATCH] fix live photo layout --- src/pages/_app.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 2bc59c9a0..45ac57da3 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -79,6 +79,7 @@ const GlobalStyles = createGlobalStyle` } .pswp-item-container > * { + position: absolute; transition: opacity 1s ease; max-width: 100%; max-height: 100%; @@ -92,12 +93,8 @@ const GlobalStyles = createGlobalStyle` opacity: 0; } - .pswp-item-container > div.spinner-border { - position: absolute; - } - .pswp-item-container > div.download-banner { - position: absolute; + .pswp-item-container > div.download-banner { width:100%; height: 16vh; padding:2vh 0;