From 5b5ab4a75a2441994bbe89a160f53a6ecf4d6bee Mon Sep 17 00:00:00 2001 From: Toba Ojo Date: Tue, 7 Oct 2025 15:42:06 +0100 Subject: [PATCH 1/2] - corrected sighting modal sizing and button locations for small screens --- .../SightingModal/SightingModal.tsx | 43 +++++++++++++++++-- src/hooks/useCameraBlackboard.ts | 3 +- 2 files changed, 41 insertions(+), 5 deletions(-) diff --git a/src/components/SightingModal/SightingModal.tsx b/src/components/SightingModal/SightingModal.tsx index 4a6167d..71a3bef 100644 --- a/src/components/SightingModal/SightingModal.tsx +++ b/src/components/SightingModal/SightingModal.tsx @@ -49,7 +49,6 @@ const SightingModal = ({ } dispatch({ type: "ADD", payload: sighting }); - toast.success("Sighting successfully added to alert list"); handleClose(); } catch (error) { console.log(error); @@ -80,6 +79,42 @@ const SightingModal = ({ Sighting Details +
+ {onDelete ? ( + + ) : ( + + )} + {onDelete ? ( + + ) : ( + + )} +
@@ -119,13 +154,13 @@ const SightingModal = ({ /> )}
-
+
overview patch -
-
+
{onDelete ? (