Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(photos):align-virtualized-header-heights-with-typography

Aswin Asokcad20b1242b7
diff --git a/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx b/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx
index fcf55127a4..b261c71756 100644
--- a/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx
+++ b/web/apps/albums/src/public-album/page/PublicAlbumPage.tsx
@@ -1126,9 +1126,9 @@ interface FileListHeaderProps {
onDescriptionHeightChange?: (height: number) => void;
}
-const fileListHeaderHeight = 84;
+const fileListHeaderHeight = 88;
-const fileListHeaderHeightMobile = 132;
+const fileListHeaderHeightMobile = 136;
const FileListHeader: React.FC<FileListHeaderProps> = ({
publicCollection,
diff --git a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
index 77191317db..e4831e7742 100644
--- a/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
+++ b/web/apps/photos/src/components/Collections/GalleryBarAndListHeader.tsx
@@ -225,7 +225,7 @@ export const GalleryBarAndListHeader: React.FC<
) : (
<></>
),
- height: 68 + (albumDescription ? descriptionHeight : 0),
+ height: 72 + (albumDescription ? descriptionHeight : 0),
});
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [