Skip to content

armgit / ente

Public Imported from GitHub
0

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

Subtler

Manav Rathi5a8d45fa9871
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsx
index 461f7f8643..fee247b393 100644
--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx
@@ -105,11 +105,6 @@ export const CollectionShare: React.FC<CollectionShareProps> = ({
anchor="right"
open={props.open}
onClose={handleDrawerClose}
- slotProps={{
- backdrop: {
- sx: { "&&&": { backgroundColor: "transparent" } },
- },
- }}
>
<Stack sx={{ gap: "4px", py: "12px" }}>
<Titlebar
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index 1d8825cfcd..3cf5e0ee79 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -532,11 +532,7 @@ const components: Components = {
styleOverrides: {
root: {
".MuiBackdrop-root": {
- // Use a translucent color for the backdrop.
backgroundColor: "var(--mui-palette-backdrop-muted)",
- // Apply a blur to the existing contents on which we're
- // shown, and show some of it through by reducing opacity.
- backdropFilter: "blur(60px) opacity(80%)",
},
},
},
@@ -552,10 +548,11 @@ const components: Components = {
},
styleOverrides: {
root: {
- // Modify the backdrop of dialogs similar to what we do for
- // drawers (but with slightly different values).
".MuiBackdrop-root": {
+ // Use a translucent color for the backdrop.
backgroundColor: "var(--mui-palette-backdrop-muted)",
+ // Apply a blur to the existing contents on which we're
+ // shown, and show some of it through by reducing opacity.
backdropFilter: "blur(30px) opacity(95%)",
},
// Reset the MUI default paddings to 16px everywhere.