summaryrefslogtreecommitdiff
path: root/src/common/components/Scanner/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/components/Scanner/index.tsx')
-rw-r--r--src/common/components/Scanner/index.tsx7
1 files changed, 3 insertions, 4 deletions
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>
)
}