Skip to content

armgit / ente

Public Imported from GitHub
0

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

Prettify

vishnukvmd0ab08b3043bd
diff --git a/web/apps/locker/src/components/CollectionSidebar.tsx b/web/apps/locker/src/components/CollectionSidebar.tsx
index fa79c256c8..953f974f23 100644
--- a/web/apps/locker/src/components/CollectionSidebar.tsx
+++ b/web/apps/locker/src/components/CollectionSidebar.tsx
@@ -313,9 +313,7 @@ const SidebarRow: React.FC<{
borderColor: theme.vars.palette.primary.main,
backgroundColor: "rgba(16, 113, 255, 0.10)",
}),
- "&.Mui-selected": {
- backgroundColor: "rgba(16, 113, 255, 0.10)",
- },
+ "&.Mui-selected": { backgroundColor: "rgba(16, 113, 255, 0.10)" },
"&.Mui-selected:hover": {
backgroundColor: "rgba(16, 113, 255, 0.14)",
},
diff --git a/web/apps/locker/src/components/CreateItemDialog.tsx b/web/apps/locker/src/components/CreateItemDialog.tsx
index b2c503935a..961da50d41 100644
--- a/web/apps/locker/src/components/CreateItemDialog.tsx
+++ b/web/apps/locker/src/components/CreateItemDialog.tsx
@@ -16,13 +16,13 @@ import {
TextField,
Typography,
} from "@mui/material";
+import { lockerDialogPaperSx } from "components/lockerDialogStyles";
import {
createDocumentIcon,
createDocumentIconConfig,
lockerItemIcon,
lockerItemIconConfig,
} from "components/lockerItemIcons";
-import { lockerDialogPaperSx } from "components/lockerDialogStyles";
import { ensureLocalUser } from "ente-accounts-rs/services/user";
import { FocusVisibleButton } from "ente-base/components/mui/FocusVisibleButton";
import { LoadingButton } from "ente-base/components/mui/LoadingButton";
diff --git a/web/apps/locker/src/components/ItemList.tsx b/web/apps/locker/src/components/ItemList.tsx
index 0d5b6eb84c..d0d82b3814 100644
--- a/web/apps/locker/src/components/ItemList.tsx
+++ b/web/apps/locker/src/components/ItemList.tsx
@@ -715,8 +715,7 @@ export const ItemList: React.FC<ItemListProps> = ({
},
"100%": {
opacity: 1,
- transform:
- "translateY(0)",
+ transform: "translateY(0)",
},
},
animation:
@@ -1297,14 +1296,7 @@ export const ItemList: React.FC<ItemListProps> = ({
},
}}
>
- <Box
- sx={{
- px: 1,
- pt: 0,
- pb: 0,
- width: "fit-content",
- }}
- >
+ <Box sx={{ px: 1, pt: 0, pb: 0, width: "fit-content" }}>
{dropdownHomeCollections.map((collection) => {
const isSelected = homeSelectedCollectionIDs.includes(
collection.id,
@@ -1828,13 +1820,7 @@ const CollectionChipFilters: React.FC<{
);
return (
- <Box
- key={collection.id}
- sx={{
- pr: 1,
- flexShrink: 0,
- }}
- >
+ <Box key={collection.id} sx={{ pr: 1, flexShrink: 0 }}>
<Chip
clickable
label={collection.name}
@@ -1906,10 +1892,7 @@ const CollectionFilterChip: React.FC<{
boxShadow: selected
? `inset 0 0 0 1px ${theme.vars.palette.primary.main}`
: "none",
- "& .MuiChip-icon": {
- color: "inherit",
- m: 0,
- },
+ "& .MuiChip-icon": { color: "inherit", m: 0 },
"& .MuiChip-label": { display: "none" },
px: 1.125,
"&:hover": {
diff --git a/web/apps/locker/src/components/lockerDialogStyles.ts b/web/apps/locker/src/components/lockerDialogStyles.ts
index 30cc10f3e6..8f1d1d0163 100644
--- a/web/apps/locker/src/components/lockerDialogStyles.ts
+++ b/web/apps/locker/src/components/lockerDialogStyles.ts
@@ -1,3 +1 @@
-export const lockerDialogPaperSx = {
- borderRadius: "20px",
-};
+export const lockerDialogPaperSx = { borderRadius: "20px" };
diff --git a/web/apps/locker/src/pages/locker.tsx b/web/apps/locker/src/pages/locker.tsx
index a91a6285ec..5ec5693c3b 100644
--- a/web/apps/locker/src/pages/locker.tsx
+++ b/web/apps/locker/src/pages/locker.tsx
@@ -800,8 +800,7 @@ const Page: React.FC = () => {
...theme.applyStyles("light", {
background:
"linear-gradient(180deg, rgba(16, 113, 255, 0.10) 0%, rgba(16, 113, 255, 0.06) 100%)",
- boxShadow:
- "0 18px 40px rgba(15, 23, 42, 0.12)",
+ boxShadow: "0 18px 40px rgba(15, 23, 42, 0.12)",
}),
})}
>