Skip to content

armgit / ente

Public Imported from GitHub
0

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

Visual

Manav Rathi70cd90157114
diff --git a/web/apps/photos/src/components/Sidebar/index.tsx b/web/apps/photos/src/components/Sidebar/index.tsx
index bd942acdc5..41b5fbbfe4 100644
--- a/web/apps/photos/src/components/Sidebar/index.tsx
+++ b/web/apps/photos/src/components/Sidebar/index.tsx
@@ -597,7 +597,7 @@ const ExitSection: React.FC = () => {
const handleLogout = () =>
showMiniDialog({
- title: t("logout_message"),
+ message: t("logout_message"),
continue: { text: t("logout"), color: "critical", action: logout },
});
diff --git a/web/packages/base/components/MiniDialog.tsx b/web/packages/base/components/MiniDialog.tsx
index df9549016b..2793f12f18 100644
--- a/web/packages/base/components/MiniDialog.tsx
+++ b/web/packages/base/components/MiniDialog.tsx
@@ -173,7 +173,7 @@ export const AttributedMiniDialog: React.FC<
onClose={handleClose}
{...rest}
>
- {(attributes.icon ?? attributes.title) && (
+ {(attributes.icon ?? attributes.title) ? (
<Box
sx={{
display: "flex",
@@ -192,6 +192,8 @@ export const AttributedMiniDialog: React.FC<
)}
{attributes.icon}
</Box>
+ ) : (
+ <Box sx={{ height: "8px" }} /> /* Spacer */
)}
<DialogContent>
{attributes.message && (