From 65431310ebb904dd66cf146dad261d46b801597a Mon Sep 17 00:00:00 2001 From: morethanwords Date: Wed, 11 Aug 2021 17:09:43 +0300 Subject: [PATCH] Fix media viewer padding --- src/components/appMediaViewer.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/appMediaViewer.ts b/src/components/appMediaViewer.ts index f2b65137..f499bdd9 100644 --- a/src/components/appMediaViewer.ts +++ b/src/components/appMediaViewer.ts @@ -1012,8 +1012,7 @@ class AppMediaViewerBase = Promise.resolve(); const size = appPhotosManager.setAttachmentSize(media, container, maxWidth, maxHeight, mediaSizes.isMobile ? false : true).photoSize; if(useContainerAsTarget) {