diff --git a/src/components/Medias/Medias.tsx b/src/components/Medias/Medias.tsx index 5a92e7f..9cd174a 100644 --- a/src/components/Medias/Medias.tsx +++ b/src/components/Medias/Medias.tsx @@ -95,11 +95,8 @@ const Medias = memo( })(); return ( -
-
+
+

{title}

@@ -139,7 +136,7 @@ const Medias = memo( {!isLoadingFiles && (
diff --git a/src/components/MoverPopup/MoverPopup.tsx b/src/components/MoverPopup/MoverPopup.tsx index ef350cd..f653dff 100644 --- a/src/components/MoverPopup/MoverPopup.tsx +++ b/src/components/MoverPopup/MoverPopup.tsx @@ -177,24 +177,28 @@ const MoverPopup = () => { setSelectedFolder(parentList[parentList.length - 1]); }; - const closeMoverModal = (e: React.MouseEvent) => { - const target = e.target as HTMLElement; - if (target.id !== "outer-wrapper") return; + const closeModal = () => { setAnimate(false); setTimeout(() => dispatch(resetMoveModal()), 200); }; + const wrapperClick = (e: React.MouseEvent) => { + const target = e.target as HTMLElement; + if (target.id !== "outer-wrapper") return; + closeModal(); + }; + return (
-
+
dispatch(resetMoveModal())} + className="w-6 h-6 cursor-pointer text-white mr-4" + onClick={closeModal} />
diff --git a/src/components/PhotoViewerPopup/PhotoViewerPopup.tsx b/src/components/PhotoViewerPopup/PhotoViewerPopup.tsx index 9ef09a0..36297b8 100644 --- a/src/components/PhotoViewerPopup/PhotoViewerPopup.tsx +++ b/src/components/PhotoViewerPopup/PhotoViewerPopup.tsx @@ -336,13 +336,13 @@ const PhotoViewerPopup: React.FC = memo((props) => {
-
+
{isThumbnailLoading && !thumbnailError && } {!file.metadata.isVideo && (