Fix media viewer padding
This commit is contained in:
parent
2fecfba7e5
commit
65431310eb
@ -1012,8 +1012,7 @@ class AppMediaViewerBase<ContentAdditionType extends string, ButtonsAdditionType
|
||||
if(windowH < 1000000 && !mediaSizes.isMobile) {
|
||||
padding = 32 + 120;
|
||||
}
|
||||
// const maxHeight = windowH - 120 - padding;
|
||||
const maxHeight = windowH - 120;
|
||||
const maxHeight = windowH - 120 - padding;
|
||||
let thumbPromise: Promise<any> = Promise.resolve();
|
||||
const size = appPhotosManager.setAttachmentSize(media, container, maxWidth, maxHeight, mediaSizes.isMobile ? false : true).photoSize;
|
||||
if(useContainerAsTarget) {
|
||||
|
Loading…
Reference in New Issue
Block a user