π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix(photos):increase-desktop-gallery-content-padding
Aswin Asok56706faf5a17
diff --git a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsxindex cb1b81f9d3..d2fa10e519 100644--- a/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx+++ b/web/apps/photos/src/components/gallery/PhotosNavigationShell.tsx@@ -108,6 +108,14 @@ export const PhotosNavigationShell: React.FC<setNavigationCollapsed(false);if (mobile) showMobileNavigation();};+ const hasContentPadding =+ showRail &&+ !(+ props.mode == "people" &&+ !props.isInSearchMode &&+ galleryBarProps &&+ !galleryBarProps.activePerson+ );return (<Stacksx={(theme) => ({@@ -213,16 +221,13 @@ export const PhotosNavigationShell: React.FC<flex: 1,minWidth: 0,minHeight: 0,- pt:- showRail &&- !(- props.mode == "people" &&- !props.isInSearchMode &&- galleryBarProps &&- !galleryBarProps.activePerson- )- ? `${thumbnailGridPadding}px`- : 0,+ pt: hasContentPadding+ ? {+ xs: `${thumbnailGridPadding}px`,+ md: "36px",+ }+ : 0,+ px: hasContentPadding ? { xs: 0, md: "12px" } : 0,...(showRail && {"--mui-palette-background-default": "#FFFFFF",bgcolor: "background.default",