diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx index 10521db484..f1feef4b8d 100644 --- a/web/apps/photos/src/pages/gallery.tsx +++ b/web/apps/photos/src/pages/gallery.tsx @@ -45,7 +45,7 @@ import type { User } from "@ente/shared/user/types"; import ArrowBack from "@mui/icons-material/ArrowBack"; import FileUploadOutlinedIcon from "@mui/icons-material/FileUploadOutlined"; import MenuIcon from "@mui/icons-material/Menu"; -import { Button, IconButton, Typography, styled } from "@mui/material"; +import { Box, Button, IconButton, Typography, styled } from "@mui/material"; import AuthenticateUserModal from "components/AuthenticateUserModal"; import Collections from "components/Collections"; import { CollectionInfo } from "components/Collections/CollectionInfo"; @@ -1308,7 +1308,7 @@ export const UploadButton: React.FC = ({ onClick }) => { const isMobileWidth = useIsMobileWidth(); return ( - + {isMobileWidth ? ( {} @@ -1323,16 +1323,10 @@ export const UploadButton: React.FC = ({ onClick }) => { {t("upload")} )} - + ); }; -const UploadButton_ = styled("div")` - display: flex; - align-items: center; - justify-content: center; -`; - interface HiddenSectionNavbarContentsProps { onBack: () => void; }