Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove theme dep

Manav Rathi14c5ea5b86b8
diff --git a/web/packages/new/photos/components/CollectionSelector.tsx b/web/packages/new/photos/components/CollectionSelector.tsx
index 51ae28c5c9..a9fcfbf3fe 100644
--- a/web/packages/new/photos/components/CollectionSelector.tsx
+++ b/web/packages/new/photos/components/CollectionSelector.tsx
@@ -185,18 +185,18 @@ export const CollectionSelector: React.FC<CollectionSelectorProps> = ({
);
};
-const Dialog_ = styled(Dialog)(({ theme }) => ({
- "& .MuiPaper-root": {
- maxWidth: "494px",
- },
- "& .MuiDialogTitle-root": {
- padding: "16px",
- paddingRight: theme.spacing(1),
- },
- "& .MuiDialogContent-root": {
- padding: "16px",
- },
-}));
+const Dialog_ = styled(Dialog)`
+ & .MuiPaper-root {
+ max-width: 494px;
+ }
+ & .MuiDialogTitle-root {
+ padding: 16px;
+ padding-right: 8px;
+ }
+ & .MuiDialogContent-root {
+ padding: 16px;
+ }
+`;
const dialogTitleForAction = (action: CollectionSelectorAction) => {
switch (action) {