diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json
index c22a9227d..501f2d4bc 100644
--- a/web/public/locales/en/common.json
+++ b/web/public/locales/en/common.json
@@ -263,5 +263,8 @@
"desc": "Page not found"
},
"selectItem": "Select {{item}}",
- "readTheDocumentation": "Read the documentation"
+ "readTheDocumentation": "Read the documentation",
+ "information": {
+ "pixels": "{{area}}px"
+ }
}
diff --git a/web/src/components/card/ClassificationCard.tsx b/web/src/components/card/ClassificationCard.tsx
index 7e694c595..235224db6 100644
--- a/web/src/components/card/ClassificationCard.tsx
+++ b/web/src/components/card/ClassificationCard.tsx
@@ -11,6 +11,7 @@ import { useTranslation } from "react-i18next";
type ClassificationCardProps = {
className?: string;
+ imgClassName?: string;
data: ClassificationItemData;
threshold?: ClassificationThreshold;
selected: boolean;
@@ -20,6 +21,7 @@ type ClassificationCardProps = {
};
export function ClassificationCard({
className,
+ imgClassName,
data,
threshold,
selected,
@@ -75,7 +77,7 @@ export function ClassificationCard({
setImageLoaded(true)}
- className={cn("size-44", isMobile && "w-full")}
+ className={cn("size-44", imgClassName, isMobile && "w-full")}
src={`${baseUrl}${data.filepath}`}
onClick={(e) => {
e.stopPropagation();
@@ -84,7 +86,7 @@ export function ClassificationCard({
/>
{imageArea != undefined && (