Skip to content

armgit / ente

Public Imported from GitHub
0

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

update(styles):mobile-upload-dialog-spacing-and-typography

Aswin Asokb0ae744e5d9c
diff --git a/web/packages/base/components/SingleInputForm.tsx b/web/packages/base/components/SingleInputForm.tsx
index 08bae5e696..9cdabec348 100644
--- a/web/packages/base/components/SingleInputForm.tsx
+++ b/web/packages/base/components/SingleInputForm.tsx
@@ -240,6 +240,7 @@ const v2BaseActionSx = {
fontSize: 14,
lineHeight: "20px",
fontWeight: 500,
+ fontFamily: "inherit",
"&.Mui-disabled": { opacity: 0.7 },
};
const v2CancelButtonSx = (theme: Theme) => ({
diff --git a/web/packages/gallery/components/UploadCompletion.tsx b/web/packages/gallery/components/UploadCompletion.tsx
index 9955b9aff9..2aaa8f2ee7 100644
--- a/web/packages/gallery/components/UploadCompletion.tsx
+++ b/web/packages/gallery/components/UploadCompletion.tsx
@@ -209,10 +209,11 @@ const completionStatSx = (theme: Theme) => ({
minWidth: 0,
minHeight: 64,
p: "12px 20px",
+ pl: "24px",
gap: "4px",
borderRadius: "16px",
backgroundColor: "background.paper",
- [uploadSheetMediaQuery]: { px: 1 },
+ [uploadSheetMediaQuery]: { px: 1, pl: 2 },
...theme.applyStyles("dark", { backgroundColor: "#282828" }),
});
diff --git a/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx b/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx
index 2115c070c2..8a6d281e6b 100644
--- a/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx
+++ b/web/packages/gallery/components/upload-progress/MinimizedUploadProgress.tsx
@@ -112,7 +112,7 @@ const minimizedSnackbarSx = {
[uploadSheetMediaQuery]: {
left: "16px",
right: "16px",
- bottom: "calc(16px + env(safe-area-inset-bottom, 0px))",
+ bottom: "calc(32px + env(safe-area-inset-bottom, 0px))",
},
};
const minimizedPaperSx = (theme: Theme): SystemStyleObject<Theme> => ({
diff --git a/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsx b/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsx
index 5085605ec1..9e2c157672 100644
--- a/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsx
+++ b/web/packages/gallery/components/upload-progress/StopUploadConfirmationDialog.tsx
@@ -222,6 +222,7 @@ const stopConfirmationCountTileSx = (theme: Theme) => ({
flex: "1 1 0",
minWidth: 0,
px: { xs: 1.5, sm: "20px" },
+ pl: { xs: 2, sm: "24px" },
py: 1.5,
gap: 0.5,
borderRadius: "16px",
diff --git a/web/packages/gallery/components/upload-progress/bottom-sheet.ts b/web/packages/gallery/components/upload-progress/bottom-sheet.ts
index cf04e7514a..4dbb12ae47 100644
--- a/web/packages/gallery/components/upload-progress/bottom-sheet.ts
+++ b/web/packages/gallery/components/upload-progress/bottom-sheet.ts
@@ -15,15 +15,5 @@ export const uploadSheetPaperSx = {
maxHeight: "calc(100dvh - 72px)",
borderRadius: "20px 20px 0 0",
borderBottom: "none",
- "&::before": {
- content: '""',
- width: 36,
- height: 4,
- flexShrink: 0,
- alignSelf: "center",
- mt: 1,
- borderRadius: "100px",
- backgroundColor: "fill.muted",
- },
},
};