diff --git a/web/src/components/overlay/ImageShadowOverlay.tsx b/web/src/components/overlay/ImageShadowOverlay.tsx index 6eb7075b0..85791eec1 100644 --- a/web/src/components/overlay/ImageShadowOverlay.tsx +++ b/web/src/components/overlay/ImageShadowOverlay.tsx @@ -12,13 +12,13 @@ export function ImageShadowOverlay({ <>
diff --git a/web/src/views/classification/ModelTrainingView.tsx b/web/src/views/classification/ModelTrainingView.tsx index c560e6207..22dfc5b27 100644 --- a/web/src/views/classification/ModelTrainingView.tsx +++ b/web/src/views/classification/ModelTrainingView.tsx @@ -44,7 +44,7 @@ import { useRef, useState, } from "react"; -import { isDesktop, isMobile } from "react-device-detect"; +import { isDesktop, isMobile, isMobileOnly } from "react-device-detect"; import { Trans, useTranslation } from "react-i18next"; import { LuPencil, LuTrash2 } from "react-icons/lu"; import { toast } from "sonner"; @@ -927,40 +927,45 @@ function ObjectTrainGrid({
{Object.entries(groups).map(([key, group]) => { const event = events?.find((ev) => ev.id == key); return ( - { - if (data) { - onClickImages([data.filename], true); - } else { - handleClickEvent(group, event, true); - } - }} - > - {(data) => ( - <> - - - - - )} - +
+ { + if (data) { + onClickImages([data.filename], true); + } else { + handleClickEvent(group, event, true); + } + }} + > + {(data) => ( + <> + + + + + )} + +
); })}