diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-02-06 11:27:03 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-02-06 11:27:03 +0700 |
| commit | 137737e4c215f5a9a6aae78cafbefe5b4cf7793d (patch) | |
| tree | 325b429f5fae6ecca2de177c537d237191fb3dc5 /src/common/components/Scanner/index.tsx | |
| parent | 38db9dbede5ee9d99068fb9a98941fd15c2730bf (diff) | |
<iman> update scanner and add value
Diffstat (limited to 'src/common/components/Scanner/index.tsx')
| -rw-r--r-- | src/common/components/Scanner/index.tsx | 7 |
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> ) } |
