Skip to content

armgit / ente

Public Imported from GitHub
0

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

Unnest and fix

Manav Rathi3c7db36f6294
diff --git a/web/apps/photos/src/components/Upload/UploadTypeSelector.tsx b/web/apps/photos/src/components/Upload/UploadTypeSelector.tsx
index 3810b34e62..f76fc5d792 100644
--- a/web/apps/photos/src/components/Upload/UploadTypeSelector.tsx
+++ b/web/apps/photos/src/components/Upload/UploadTypeSelector.tsx
@@ -233,39 +233,37 @@ const TakeoutOptions: React.FC<Omit<OptionsProps, "intent">> = ({
</SpaceBetweenFlex>
</DialogTitle>
- <Box p={1.5}>
- <Stack gap={2.5}>
- <Stack gap={1}>
- <FocusVisibleButton
- color="accent"
- fullWidth
- onClick={() => onSelect("folders")}
- >
- {t("select_folder")}
- </FocusVisibleButton>
- <FocusVisibleButton
- color="secondary"
- fullWidth
- onClick={() => onSelect("zips")}
- >
- {t("Select zips")}
+ <Stack p={1.5} gap={2.5}>
+ <Stack gap={1}>
+ <FocusVisibleButton
+ color="accent"
+ fullWidth
+ onClick={() => onSelect("folders")}
+ >
+ {t("select_folder")}
+ </FocusVisibleButton>
+ <FocusVisibleButton
+ color="secondary"
+ fullWidth
+ onClick={() => onSelect("zips")}
+ >
+ {t("select_zips")}
+ </FocusVisibleButton>
+ <Link
+ href="https://help.ente.io/photos/migration/from-google-photos/"
+ target="_blank"
+ rel="noopener"
+ >
+ <FocusVisibleButton color="secondary" fullWidth>
+ {t("faq")}
</FocusVisibleButton>
- <Link
- href="https://help.ente.io/photos/migration/from-google-photos/"
- target="_blank"
- rel="noopener"
- >
- <FocusVisibleButton color="secondary" fullWidth>
- {t("faq")}
- </FocusVisibleButton>
- </Link>
- </Stack>
-
- <Typography variant="small" color="text.muted" pb={1}>
- {t("takeout_hint")}
- </Typography>
+ </Link>
</Stack>
- </Box>
+
+ <Typography variant="small" color="text.muted" pb={1}>
+ {t("takeout_hint")}
+ </Typography>
+ </Stack>
</>
);
};