Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tweak

Manav Rathiad4716256eeb
diff --git a/web/packages/shared/components/Menu/EnteMenuItem.tsx b/web/packages/shared/components/Menu/EnteMenuItem.tsx
index 205d8344eb..8c50a8e9cc 100644
--- a/web/packages/shared/components/Menu/EnteMenuItem.tsx
+++ b/web/packages/shared/components/Menu/EnteMenuItem.tsx
@@ -6,6 +6,7 @@ import {
import {
Box,
MenuItem,
+ Stack,
Typography,
type ButtonProps,
type TypographyProps,
@@ -142,7 +143,7 @@ const CaptionedText: React.FC<CaptionedTextProps> = ({
}) => {
const subTextColor = color == "critical" ? "critical.main" : "text.faint";
return (
- <VerticallyCenteredFlex gap={"4px"}>
+ <Stack direction="row" sx={{ gap: "4px", alignItems: "center" }}>
<Typography>{mainText}</Typography>
<Typography variant="small" sx={{ color: subTextColor }}>
{"β€’"}
@@ -150,6 +151,6 @@ const CaptionedText: React.FC<CaptionedTextProps> = ({
<Typography variant="small" sx={{ color: subTextColor }}>
{subText ? subText : subIcon}
</Typography>
- </VerticallyCenteredFlex>
+ </Stack>
);
};