Skip to content

armgit / ente

Public Imported from GitHub
0

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

source order

Manav Rathi40edd3ecfd23
diff --git a/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx b/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx
index a1b2c0a758..79ca1d167a 100644
--- a/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx
+++ b/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx
@@ -43,7 +43,8 @@ const Check = styled("input")<{ $active: boolean }>(
({ theme, $active }) => `
appearance: none;
position: absolute;
- z-index: 10;
+ /* Increase z-index in stacking order to capture clicks */
+ z-index: 1;
left: 0;
outline: none;
cursor: pointer;
@@ -162,7 +163,6 @@ const InSelectRangeOverlay = styled(Overlay)(
const SelectedOverlay = styled(Overlay)(
({ theme }) => `
- z-index: 5;
border: 2px solid ${theme.vars.palette.accent.main};
border-radius: 4px;
`,