π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Set all albums dialog height to constant 80svh
anandbaburajand990f1c3bbd9
diff --git a/web/apps/photos/src/components/Collections/AllAlbums.tsx b/web/apps/photos/src/components/Collections/AllAlbums.tsxindex 5ff44072af..85cfc0c228 100644--- a/web/apps/photos/src/components/Collections/AllAlbums.tsx+++ b/web/apps/photos/src/components/Collections/AllAlbums.tsx@@ -306,10 +306,6 @@ const AllAlbumsContent: React.FC<AllAlbumsContentProps> = ({>([]);const columns = isTwoColumn ? 2 : 3;- const maxListContentHeight =- Math.ceil(collectionSummaries.length / columns) *- CollectionRowItemSize +- 32; /* padding above first and below last row */useEffect(() => {const main = () => {@@ -371,13 +367,8 @@ const AllAlbumsContent: React.FC<AllAlbumsContentProps> = ({<DialogContentsx={{"&&": { padding: 0 },- height: "min(80svh, var(--et-max-list-content-height))",+ height: "80svh",}}- style={- {- "--et-max-list-content-height": `${maxListContentHeight}px`,- } as React.CSSProperties- }><AutoSizer>{({ width, height }) => (