Skip to content

armgit / ente

Public Imported from GitHub
0

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

[photos][web] Hide person back button on small screens

AswinAsokca9f7baab231
diff --git a/web/apps/photos/src/components/gallery/PeopleHeader.tsx b/web/apps/photos/src/components/gallery/PeopleHeader.tsx
index be20afc828..a0ea384a18 100644
--- a/web/apps/photos/src/components/gallery/PeopleHeader.tsx
+++ b/web/apps/photos/src/components/gallery/PeopleHeader.tsx
@@ -105,7 +105,12 @@ export const PeopleHeader: React.FC<PeopleHeaderProps> = ({
<IconButton
aria-label={t("go_back")}
onClick={onBack}
- sx={{ width: 32, height: 32, flexShrink: 0 }}
+ sx={{
+ display: { xs: "none", sm: "inline-flex" },
+ width: 32,
+ height: 32,
+ flexShrink: 0,
+ }}
>
<HugeiconsIcon icon={ArrowLeft02Icon} size={20} />
</IconButton>