Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix background

Manav Rathi4b368ed8df53
diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsx
index 1807224626..5c711892ac 100644
--- a/web/apps/photos/src/components/PhotoViewer/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx
@@ -1045,29 +1045,31 @@ const ConversionFailedNotification: React.FC<
<Snackbar
open={open}
anchorOrigin={{ vertical: "bottom", horizontal: "right" }}
- sx={{ width: "320px", backgroundColor: "#000" }}
>
- <Button
- color={"secondary"}
- onClick={handleClick}
- sx={{
- borderRadius: "8px",
- flex: 1,
- display: "flex",
- alignItems: "center",
- gap: "16px",
- }}
- >
- <InfoIcon />
-
- <Typography variant="small" sx={{ flex: 1, textAlign: "left" }}>
- {t("CONVERSION_FAILED_NOTIFICATION_MESSAGE")}
- </Typography>
-
- <FilledIconButton onClick={handleClose}>
- <CloseIcon />
- </FilledIconButton>
- </Button>
+ <Paper sx={{ width: "320px" }}>
+ <Button
+ color={"secondary"}
+ onClick={handleClick}
+ sx={{
+ borderRadius: "8px",
+ flex: 1,
+ display: "flex",
+ alignItems: "center",
+ gap: "16px",
+ }}
+ >
+ <InfoIcon />
+ <Typography
+ variant="small"
+ sx={{ flex: 1, textAlign: "left" }}
+ >
+ {t("CONVERSION_FAILED_NOTIFICATION_MESSAGE")}
+ </Typography>
+ <FilledIconButton onClick={handleClose}>
+ <CloseIcon />
+ </FilledIconButton>
+ </Button>
+ </Paper>
</Snackbar>
);
};