diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsx index ee5ca4fa30..36a105d0ac 100644 --- a/web/apps/photos/src/pages/index.tsx +++ b/web/apps/photos/src/pages/index.tsx @@ -1,6 +1,6 @@ import { LoginContents } from "@/accounts/components/LoginContents"; import { SignUpContents } from "@/accounts/components/SignUpContents"; -import { CenteredFill } from "@/base/components/containers"; +import { CenteredFill, CenteredFlex } from "@/base/components/containers"; import { EnteLogo } from "@/base/components/EnteLogo"; import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator"; import { FocusVisibleButton } from "@/base/components/mui/FocusVisibleButton"; @@ -286,22 +286,21 @@ const MobileBoxFooter: React.FC = ({ host }) => { ); }; -const DesktopBox = styled("div")` +const DesktopBox = styled(CenteredFlex)( + ({ theme }) => ` flex-shrink: 0; flex-grow: 2; flex-basis: auto; height: 100%; padding-inline: 20px; - display: flex; - align-items: center; - justify-content: center; - background-color: #242424; + background-color: ${theme.vars.palette.fill.faint}; @media (width <= 1024px) { display: none; } -`; +`, +); const Slideshow: React.FC = () => { const [selectedIndex, setSelectedIndex] = useState(0);