From 137737e4c215f5a9a6aae78cafbefe5b4cf7793d Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 6 Feb 2025 11:27:03 +0700
Subject: <iman> update scanner and add value

---
 src/common/components/Scanner/index.tsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'src/common/components/Scanner/index.tsx')

diff --git a/src/common/components/Scanner/index.tsx b/src/common/components/Scanner/index.tsx
index 56d2495..c21633f 100644
--- a/src/common/components/Scanner/index.tsx
+++ b/src/common/components/Scanner/index.tsx
@@ -29,10 +29,9 @@ const Scanner = (props: Props) => {
   }
 
   return (
-    <div className={styles.wrapper}>
-      <video ref={ref} onClick={restartCam} className={styles.video} />
-      <div className={styles.videoFrame} />
-    </div>
+  <div className="relative w-full h-[125px] overflow-hidden">
+    <video ref={ref} className="w-full h-full object-cover" />
+  </div>
   )
 }
 
-- 
cgit v1.2.3

