Skip to content

armgit / ente

Public Imported from GitHub
0

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

Rename to disambiguate from Overlay

Manav Rathi926e179d574a
diff --git a/web/packages/gallery/components/FullScreenDropZone.tsx b/web/packages/gallery/components/FullScreenDropZone.tsx
index 230c1abe1c..638fe42d38 100644
--- a/web/packages/gallery/components/FullScreenDropZone.tsx
+++ b/web/packages/gallery/components/FullScreenDropZone.tsx
@@ -51,21 +51,21 @@ export const FullScreenDropZone: React.FC<
return (
<Stack sx={{ flex: 1 }} {...getDragAndDropRootProps({ onDragEnter })}>
{isDragActive && (
- <Overlay onDrop={onDragLeave} onDragLeave={onDragLeave}>
+ <DropZoneOverlay onDrop={onDragLeave} onDragLeave={onDragLeave}>
<CloseButton onClick={onDragLeave}>
<CloseIcon />
</CloseButton>
<Typography variant="h3">
{message ?? t("upload_dropzone_hint")}
</Typography>
- </Overlay>
+ </DropZoneOverlay>
)}
{children}
</Stack>
);
};
-const Overlay = styled(Stack)`
+const DropZoneOverlay = styled(Stack)`
position: absolute;
left: 0;
top: 0;