Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: remove blur from dialogs

Abdullah Atta25f9eece8d2f
diff --git a/apps/web/src/dialogs/attachments-dialog.tsx b/apps/web/src/dialogs/attachments-dialog.tsx
index 72bf5e3fd..a2146348f 100644
--- a/apps/web/src/dialogs/attachments-dialog.tsx
+++ b/apps/web/src/dialogs/attachments-dialog.tsx
@@ -400,12 +400,7 @@ const Sidebar = memo(
flexDirection: "column",
justifyContent: "space-between",
width: 240,
- "@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none))":
- {
- backgroundColor: alpha("background", 0.6),
- backdropFilter: "blur(8px)"
- },
- backgroundColor: "var(--background-secondary)"
+ backgroundColor: "background"
}}
>
<Flex sx={{ flexDirection: "column" }}>
diff --git a/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx b/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx
index df3e4909a..03aeb38ee 100644
--- a/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx
+++ b/apps/web/src/dialogs/buy-dialog/buy-dialog.tsx
@@ -99,12 +99,7 @@ export function BuyDialog(props: BuyDialogProps) {
display: "flex",
overflow: ["hidden", "hidden", "auto"],
flexDirection: "column",
- "@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none))":
- {
- backgroundColor: alpha("background", 0.8),
- backdropFilter: "blur(8px)"
- },
- backgroundColor: "var(--background-secondary)",
+ backgroundColor: "background",
flexShrink: 0,
alignItems: "center",
justifyContent: "center",
diff --git a/apps/web/src/dialogs/settings/index.tsx b/apps/web/src/dialogs/settings/index.tsx
index 175902826..29eecf753 100644
--- a/apps/web/src/dialogs/settings/index.tsx
+++ b/apps/web/src/dialogs/settings/index.tsx
@@ -238,12 +238,7 @@ function SettingsSideBar(props: SettingsSideBarProps) {
flexDirection: "column",
display: "flex",
overflow: "hidden",
- "@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none))":
- {
- backgroundColor: alpha("background", 0.6),
- backdropFilter: "blur(8px)"
- },
- backgroundColor: "var(--background-secondary)"
+ backgroundColor: "background"
}}
>
<Input