Skip to content

armgit / ente

Public Imported from GitHub
0

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

Height

Manav Rathie605169ac130
diff --git a/web/packages/new/photos/components/Gallery/ListHeader.tsx b/web/packages/new/photos/components/Gallery/ListHeader.tsx
index e7b053f4d4..89e35cfa99 100644
--- a/web/packages/new/photos/components/Gallery/ListHeader.tsx
+++ b/web/packages/new/photos/components/Gallery/ListHeader.tsx
@@ -24,7 +24,14 @@ export const GalleryItemsSummary: React.FC<GalleryItemsSummaryProps> = ({
<div>
<Typography variant="h3">{name}</Typography>
- <Stack direction="row" gap={1.5}>
+ <Stack
+ direction="row"
+ gap={1.5}
+ sx={{
+ // Keep height the same even when there is no endIcon
+ minHeight: "24px",
+ }}
+ >
<Typography variant="small" color="text.muted">
{t("photos_count", { count: fileCount })}
</Typography>