Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

style: max height

httpjamesm30f155d7f849
diff --git a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
index 419943e3b7..b50c141216 100644
--- a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
@@ -243,13 +243,15 @@ const ImageEditorOverlay = (props: IProps) => {
</IconButton>
</HorizontalFlex>
<Box
- display="inline-block"
width="100%"
height="100%"
overflow="hidden"
- boxSizing={'border-box'}>
+ boxSizing={'border-box'}
+ display="flex"
+ alignItems="center"
+ justifyContent="center">
<Box
- height="100%"
+ height="90%"
width="100%"
ref={parentRef}
display="flex"