summaryrefslogtreecommitdiff
path: root/src/common/components/Scanner/index.tsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-02-06 14:26:46 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-02-06 14:26:46 +0700
commit629d60902e53af31e87ad905ec9a20f93932969a (patch)
tree33a6a7f10b2a5b56f5a3c582860978c31635a6bd /src/common/components/Scanner/index.tsx
parent137737e4c215f5a9a6aae78cafbefe5b4cf7793d (diff)
<iman> update tampilan scannermain
Diffstat (limited to 'src/common/components/Scanner/index.tsx')
-rw-r--r--src/common/components/Scanner/index.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/common/components/Scanner/index.tsx b/src/common/components/Scanner/index.tsx
index c21633f..a5c907d 100644
--- a/src/common/components/Scanner/index.tsx
+++ b/src/common/components/Scanner/index.tsx
@@ -29,9 +29,13 @@ const Scanner = (props: Props) => {
}
return (
- <div className="relative w-full h-[125px] overflow-hidden">
- <video ref={ref} className="w-full h-full object-cover" />
- </div>
+ // <div className="relative w-full h-[125px] overflow-hidden">
+ // <video ref={ref} className="w-full h-full object-cover" />
+ // </div>
+ <div className="relative w-full h-[350px] overflow-hidden">
+ <video ref={ref} onClick={restartCam} className={styles.video} />
+ <div className={styles.videoFrame} />
+</div>
)
}