Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fixes

vishnukvmd6dd62e5dfe30
diff --git a/web/apps/locker/src/components/CollectionSidebar.tsx b/web/apps/locker/src/components/CollectionSidebar.tsx
index a9b628a648..8e539061a9 100644
--- a/web/apps/locker/src/components/CollectionSidebar.tsx
+++ b/web/apps/locker/src/components/CollectionSidebar.tsx
@@ -313,12 +313,8 @@ const SidebarRow: React.FC<{
borderColor: theme.vars.palette.primary.main,
backgroundColor: "transparent",
}),
- "&.Mui-selected": {
- backgroundColor: "transparent",
- },
- "&.Mui-selected:hover": {
- backgroundColor: "transparent",
- },
+ "&.Mui-selected": { backgroundColor: "transparent" },
+ "&.Mui-selected:hover": { backgroundColor: "transparent" },
})}
>
<ListItemIcon sx={{ minWidth: 36, color: "inherit" }}>
diff --git a/web/apps/locker/src/components/CreateItemDialog.tsx b/web/apps/locker/src/components/CreateItemDialog.tsx
index d53d89aa69..7ba66546b1 100644
--- a/web/apps/locker/src/components/CreateItemDialog.tsx
+++ b/web/apps/locker/src/components/CreateItemDialog.tsx
@@ -1,5 +1,5 @@
-import ChevronRightRoundedIcon from "@mui/icons-material/ChevronRightRounded";
import CheckRoundedIcon from "@mui/icons-material/CheckRounded";
+import ChevronRightRoundedIcon from "@mui/icons-material/ChevronRightRounded";
import CloudUploadOutlinedIcon from "@mui/icons-material/CloudUploadOutlined";
import VisibilityIcon from "@mui/icons-material/Visibility";
import VisibilityOffIcon from "@mui/icons-material/VisibilityOff";
@@ -904,10 +904,7 @@ const CollectionSelector: React.FC<{
height: 48,
borderRadius: "14px",
},
- "& .MuiInputBase-input": {
- pt: 1,
- pb: 0.5,
- },
+ "& .MuiInputBase-input": { pt: 1, pb: 0.5 },
}}
value={createName}
onChange={(event) => {
diff --git a/web/apps/locker/src/components/LockerCollectionShareDrawer.tsx b/web/apps/locker/src/components/LockerCollectionShareDrawer.tsx
index 8fcccd22bb..6b0871f282 100644
--- a/web/apps/locker/src/components/LockerCollectionShareDrawer.tsx
+++ b/web/apps/locker/src/components/LockerCollectionShareDrawer.tsx
@@ -434,9 +434,7 @@ export const LockerCollectionShareDrawer: React.FC<
"& .MuiInputLabel-root.Mui-focused": {
color: "#FFFFFF",
},
- "& .MuiInputBase-input": {
- color: "#FFFFFF",
- },
+ "& .MuiInputBase-input": { color: "#FFFFFF" },
"& .MuiFormHelperText-root": {
color: viewerEmailError
? theme.vars.palette.critical.main
diff --git a/web/apps/locker/src/components/LockerFileLinkDialog.tsx b/web/apps/locker/src/components/LockerFileLinkDialog.tsx
index 93214c3a09..27de144085 100644
--- a/web/apps/locker/src/components/LockerFileLinkDialog.tsx
+++ b/web/apps/locker/src/components/LockerFileLinkDialog.tsx
@@ -44,13 +44,7 @@ export const LockerFileLinkDialog: React.FC<LockerFileLinkDialogProps> = ({
onClose={loading || deleting ? undefined : onClose}
fullWidth
maxWidth="xs"
- slotProps={{
- paper: {
- sx: {
- width: "min(100%, 420px)",
- },
- },
- }}
+ slotProps={{ paper: { sx: { width: "min(100%, 420px)" } } }}
>
<DialogTitle sx={{ pr: 6 }}>
{itemTitle}
diff --git a/web/apps/locker/src/components/LockerNavbar.tsx b/web/apps/locker/src/components/LockerNavbar.tsx
index 55b53eb0af..205e43c7d4 100644
--- a/web/apps/locker/src/components/LockerNavbar.tsx
+++ b/web/apps/locker/src/components/LockerNavbar.tsx
@@ -95,10 +95,7 @@ export const LockerNavbar: React.FC<LockerNavbarProps> = ({
startAdornment: (
<InputAdornment position="start">
<SearchIcon
- sx={{
- fontSize: 20,
- color: "text.faint",
- }}
+ sx={{ fontSize: 20, color: "text.faint" }}
/>
</InputAdornment>
),
@@ -110,12 +107,8 @@ export const LockerNavbar: React.FC<LockerNavbarProps> = ({
borderRadius: "24px",
backgroundColor: "background.paper",
"& .MuiOutlinedInput-input": { py: 1.5 },
- "& fieldset": {
- borderColor: "transparent",
- },
- "&:hover fieldset": {
- borderColor: "transparent",
- },
+ "& fieldset": { borderColor: "transparent" },
+ "&:hover fieldset": { borderColor: "transparent" },
"&.Mui-focused fieldset": {
borderColor: "rgba(255, 255, 255, 0.28)",
borderWidth: "1px",
diff --git a/web/apps/locker/src/components/LockerSidebarCardButton.tsx b/web/apps/locker/src/components/LockerSidebarCardButton.tsx
index b9b7774d57..fdd52881d2 100644
--- a/web/apps/locker/src/components/LockerSidebarCardButton.tsx
+++ b/web/apps/locker/src/components/LockerSidebarCardButton.tsx
@@ -59,9 +59,7 @@ export const LockerSidebarCardButton: React.FC<
boxShadow: `inset 0 0 0 1px ${theme.vars.palette.accent.main}`,
color: "accent.main",
}),
- "&:hover": {
- backgroundColor: "fill.faint",
- },
+ "&:hover": { backgroundColor: "fill.faint" },
})}
>
{iconNode ? (
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index 448b2468e8..17f46cc8cc 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -1026,7 +1026,9 @@ const getComponents = (appName: AppName): Components => {
borderRadius: "16px",
},
} as NonNullable<
- NonNullable<Components["MuiOutlinedInput"]>["styleOverrides"]
+ NonNullable<
+ Components["MuiOutlinedInput"]
+ >["styleOverrides"]
>,
},
MuiFilledInput: {
@@ -1034,8 +1036,9 @@ const getComponents = (appName: AppName): Components => {
styleOverrides: {
...components.MuiFilledInput?.styleOverrides,
root: {
- ...(components.MuiFilledInput?.styleOverrides
- ?.root as Record<string, unknown> | undefined),
+ ...(components.MuiFilledInput?.styleOverrides?.root as
+ | Record<string, unknown>
+ | undefined),
borderRadius: "16px",
},
} as NonNullable<
@@ -1067,7 +1070,9 @@ const getComponents = (appName: AppName): Components => {
paddingTop: "8px",
},
} as NonNullable<
- NonNullable<Components["MuiDialogContent"]>["styleOverrides"]
+ NonNullable<
+ Components["MuiDialogContent"]
+ >["styleOverrides"]
>,
},
};