Skip to content

Commit

Permalink
Make qr video uses whole container size
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Mar 20, 2024
1 parent 1d90e8e commit 3cc9dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/auth/LoginModal/contents/ScanQrContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default function ScanQrContent({ closeModal }: LoginModalContentProps) {
<span className='absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2'>
Allow camera to scan QR
</span>
<video ref={videoRef} className='h-full w-full' />
<video ref={videoRef} className='h-full w-full object-cover' />
{isLoading && (
<div className='absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2'>
<Spinner className='h-16 w-16' />
Expand Down

0 comments on commit 3cc9dab

Please sign in to comment.