Skip to content

armgit / ente

Public Imported from GitHub
0

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

Truncate long album names in public album mobile view

Anand Baburajan54fb01c2ebd9
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsx
index 41d6cf9b9d..3914b42625 100644
--- a/web/apps/photos/src/pages/shared-albums.tsx
+++ b/web/apps/photos/src/pages/shared-albums.tsx
@@ -851,10 +851,13 @@ const FileListHeader: React.FC<FileListHeaderProps> = ({
return (
<GalleryItemsHeaderAdapter sx={{ pt: "16px" }}>
<SpacedRow>
- <GalleryItemsSummary
- name={publicCollection.name}
- fileCount={publicFiles.length}
- />
+ <Box sx={{ minWidth: 0 }}>
+ <GalleryItemsSummary
+ name={publicCollection.name}
+ fileCount={publicFiles.length}
+ nameProps={{ noWrap: true }}
+ />
+ </Box>
<Stack
direction="row"
spacing={1}