Skip to content

armgit / ente

Public Imported from GitHub
0

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

Visual fix

Manav Rathi4c1e434b96ab
diff --git a/web/apps/photos/src/components/Sidebar/index.tsx b/web/apps/photos/src/components/Sidebar/index.tsx
index 7d4205614f..2a735e7f01 100644
--- a/web/apps/photos/src/components/Sidebar/index.tsx
+++ b/web/apps/photos/src/components/Sidebar/index.tsx
@@ -454,7 +454,14 @@ const ShortcutSection: React.FC<ShortcutSectionProps> = ({
onClick={openHiddenSection}
variant="captioned"
label={t("section_hidden")}
- subIcon={<LockOutlinedIcon />}
+ subIcon={
+ <LockOutlinedIcon
+ sx={{
+ verticalAlign: "middle",
+ fontSize: "19px !important",
+ }}
+ />
+ }
/>
<EnteMenuItem
startIcon={<DeleteOutlineIcon />}
diff --git a/web/packages/shared/components/Menu/EnteMenuItem.tsx b/web/packages/shared/components/Menu/EnteMenuItem.tsx
index 8c7c6ef297..205d8344eb 100644
--- a/web/packages/shared/components/Menu/EnteMenuItem.tsx
+++ b/web/packages/shared/components/Menu/EnteMenuItem.tsx
@@ -147,15 +147,9 @@ const CaptionedText: React.FC<CaptionedTextProps> = ({
<Typography variant="small" sx={{ color: subTextColor }}>
{"β€’"}
</Typography>
- {subText ? (
- <Typography variant="small" sx={{ color: subTextColor }}>
- {subText}
- </Typography>
- ) : (
- <Typography variant="small" sx={{ color: subTextColor }}>
- {subIcon}
- </Typography>
- )}
+ <Typography variant="small" sx={{ color: subTextColor }}>
+ {subText ? subText : subIcon}
+ </Typography>
</VerticallyCenteredFlex>
);
};