From 0646c8f11da1f00bf7566ef8cafb8d48c6f350b8 Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Mon, 2 Oct 2023 23:05:47 +0530 Subject: [PATCH] add clacificaon result in samples card --- src/components/Samples.css | 10 +++++++--- src/components/Samples.js | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/Samples.css b/src/components/Samples.css index d1d2321..186f3e7 100644 --- a/src/components/Samples.css +++ b/src/components/Samples.css @@ -1,9 +1,9 @@ .samples-card { width: 35vw; - height: 10vh; + height: 15vh; background-color: white; - margin: 10px; - padding: 10px; + margin: 1rem; + padding: 1rem; border-style: solid; border-color: rgb(219, 219, 219); border-radius: 6px; @@ -14,6 +14,10 @@ margin: 30px; } +.sample-classification { + font-size: small; +} + .sample-time { font-size: small; } diff --git a/src/components/Samples.js b/src/components/Samples.js index eff80b3..2642468 100644 --- a/src/components/Samples.js +++ b/src/components/Samples.js @@ -33,6 +33,7 @@ const Samples = () => { samples.map((alert, index) => (
{alert._id}
+

{alert.classificationResult}

{alert.testTime}

{moment(alert.testTime).fromNow()}