π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Final two
Manav Rathi4a833e0799a4
diff --git a/web/packages/base/components/loaders.tsx b/web/packages/base/components/loaders.tsxindex 64584009d9..89e81c2041 100644--- a/web/packages/base/components/loaders.tsx+++ b/web/packages/base/components/loaders.tsx@@ -32,10 +32,9 @@ export const TranslucentLoadingOverlay: React.FC = () => (sx={{backgroundColor: "var(--mui-palette-backdrop-muted)",backdropFilter: "blur(30px) opacity(95%)",- // This is `aboveFileViewerContentZ + delta`. Cannot use a constant- // here since this is used outside photos too. Eventually just get- // rid of this component, merging it to specific uses.- zIndex: 2000 /* aboveFileViewerContentZ + delta */,+ /* Above the highest possible MUI z-index, that of the MUI tooltip+ See: https://mui.com/material-ui/customization/default-theme/ */+ zIndex: "calc(var(--mui-zIndex-tooltip) + 1)",}}><ActivityIndicator />diff --git a/web/packages/gallery/components/FullScreenDropZone.tsx b/web/packages/gallery/components/FullScreenDropZone.tsxindex e817e2f034..d7d82797ec 100644--- a/web/packages/gallery/components/FullScreenDropZone.tsx+++ b/web/packages/gallery/components/FullScreenDropZone.tsx@@ -135,7 +135,9 @@ const DropZoneOverlay = styled(Stack)(border-color: ${theme.vars.palette.accent.light};background-color: ${theme.vars.palette.backdrop.base};backdrop-filter: blur(10px);- z-index: 2000; /* aboveFileViewerContentZ + delta */+ /* Above the highest possible MUI z-index, that of the MUI tooltip+ See: https://mui.com/material-ui/customization/default-theme/ */+ z-index: calc(var(--mui-zIndex-tooltip) + 1);`,);diff --git a/web/packages/new/photos/components/utils/z-index.tsx b/web/packages/new/photos/components/utils/z-index.tsxdeleted file mode 100644index 23a8174ac1..0000000000--- a/web/packages/new/photos/components/utils/z-index.tsx+++ /dev/null@@ -1,28 +0,0 @@-/**- * @file [Note: Custom z-indices]- *- * The default MUI z-index values (as of 6.4) are- * https://mui.com/material-ui/customization/default-theme/- *- * zIndex: Object- * - mobileStepper: 1000- * - fab: 1050- * - speedDial: 1050- * - appBar: 1100- * - drawer: 1200- * - modal: 1300- * - snackbar: 1400- * - tooltip: 1500- *- * We don't customize any of those, but photoswipe, the library we use for the- * image gallery, sets its base zIndex to a high value, so we need to tweak the- * zIndices of components that need to appear atop it accordingly. This file- * tries to hold those customizations.- */--/**- * Dialogs (not necessarily always) need to be higher still so to ensure they- * are visible above the file info drawer in case they are shown in response to- * some action taken in the file info drawer.- */-export const aboveFileViewerContentZ = 1502;