Skip to content

armgit / ente

Public Imported from GitHub
0

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

Move public album header bottom margin to content padding

Anand Baburajana64bc76bcd01
diff --git a/web/apps/photos/src/pages/shared-albums.tsx b/web/apps/photos/src/pages/shared-albums.tsx
index 698214c0b6..41d6cf9b9d 100644
--- a/web/apps/photos/src/pages/shared-albums.tsx
+++ b/web/apps/photos/src/pages/shared-albums.tsx
@@ -585,7 +585,6 @@ export default function PublicCollectionGallery() {
<NavbarBase
sx={[
{
- mb: "16px",
px: "24px",
"@media (width < 720px)": { px: "4px" },
},
@@ -824,7 +823,7 @@ interface FileListHeaderProps {
/**
* The fixed height (in px) of {@link FileListHeader}.
*/
-const fileListHeaderHeight = 68;
+const fileListHeaderHeight = 84;
/**
* A header shown before the listing of files.
@@ -850,7 +849,7 @@ const FileListHeader: React.FC<FileListHeaderProps> = ({
);
return (
- <GalleryItemsHeaderAdapter>
+ <GalleryItemsHeaderAdapter sx={{ pt: "16px" }}>
<SpacedRow>
<GalleryItemsSummary
name={publicCollection.name}