Skip to content

armgit / ente

Public Imported from GitHub
0

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

Inline

Manav Rathi079154198b0f
diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsx
index d34aaef17a..e13c49f8ea 100644
--- a/web/apps/photos/src/components/PhotoViewer/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx
@@ -29,6 +29,7 @@ import {
Box,
Button,
CircularProgress,
+ Paper,
styled,
Typography,
type CircularProgressProps,
@@ -56,7 +57,6 @@ import { PublicCollectionGalleryContext } from "utils/publicCollectionGallery";
import { getTrashFileMessage } from "utils/ui";
import { FileInfo, type FileInfoExif, type FileInfoProps } from "./FileInfo";
import ImageEditorOverlay from "./ImageEditorOverlay";
-import { LivePhotoBtnContainer } from "./styledComponents/LivePhotoBtn";
interface PhotoswipeFullscreenAPI {
enter: () => void;
@@ -1038,3 +1038,11 @@ const ConversionFailedNotification: React.FC<
/>
);
};
+
+const LivePhotoBtnContainer = styled(Paper)`
+ border-radius: 4px;
+ position: absolute;
+ bottom: 10vh;
+ right: 6vh;
+ z-index: 10;
+`;
diff --git a/web/apps/photos/src/components/PhotoViewer/styledComponents/LivePhotoBtn.tsx b/web/apps/photos/src/components/PhotoViewer/styledComponents/LivePhotoBtn.tsx
deleted file mode 100644
index 00b8979d5a..0000000000
--- a/web/apps/photos/src/components/PhotoViewer/styledComponents/LivePhotoBtn.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Paper, styled } from "@mui/material";
-
-export const LivePhotoBtnContainer = styled(Paper)`
- border-radius: 4px;
- position: absolute;
- bottom: 10vh;
- right: 6vh;
- z-index: 10;
-`;