Skip to content

armgit / ente

Public Imported from GitHub
0

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

[photos][web] Make mobile album navigation fullscreen

AswinAsok5b33f4a9fb44
diff --git a/web/apps/photos/src/components/gallery/BarImpl.tsx b/web/apps/photos/src/components/gallery/BarImpl.tsx
index 5440082eeb..151c6273d4 100644
--- a/web/apps/photos/src/components/gallery/BarImpl.tsx
+++ b/web/apps/photos/src/components/gallery/BarImpl.tsx
@@ -608,9 +608,12 @@ export const GalleryBarImpl: React.FC<GalleryBarImplProps> = ({
"aria-labelledby": titleID,
inert: !mobileDrawerProps.open,
sx: (theme) => ({
- width: "min(328px, 94vw)",
- borderRadius: "0 20px 20px 0",
- boxShadow: "0 24px 60px rgba(0,0,0,0.3)",
+ width: mode == "people" ? "min(328px, 94vw)" : "100%",
+ borderRadius: mode == "people" ? "0 20px 20px 0" : 0,
+ boxShadow:
+ mode == "people"
+ ? "0 24px 60px rgba(0,0,0,0.3)"
+ : "none",
bgcolor: "#F4F4F4",
...theme.applyStyles("dark", { bgcolor: "#161616" }),
}),