further camera modal style overriding

This commit is contained in:
lemonknowsall committed 2025-10-27 15:37:36 -07:00
1 parent ae95955e9e
commit a5db59fa67
1 file changed
+16 -2
+16 -2
View File
@@ -492,8 +492,22 @@ export function WalletModals({
stopScanning();
}
}}>
<DialogContent className="max-w-none w-screen h-screen !h-[100dvh] p-0 m-0 bg-black border-0 rounded-none top-0 left-0 right-0 bottom-0 translate-x-0 translate-y-0 [&>button]:absolute [&>button]:top-4 [&>button]:right-4 [&>button]:z-50 [&>button]:text-white [&>button]:bg-black/50 [&>button]:hover:bg-black/70">
<div id="qr-reader" className="w-full h-full"></div>
<DialogContent
className="max-w-none w-screen h-screen !h-[100dvh] p-0 m-0 bg-black border-0 rounded-none !top-0 !left-0 !right-0 !bottom-0 !translate-x-0 !translate-y-0 flex flex-col [&>button]:absolute [&>button]:top-4 [&>button]:right-4 [&>button]:z-50 [&>button]:text-white [&>button]:bg-black/50 [&>button]:hover:bg-black/70"
style={{
position: 'fixed',
top: 0,
left: 0,
right: 0,
bottom: 0,
transform: 'none',
maxWidth: '100vw',
maxHeight: '100vh',
height: '100vh',
width: '100vw'
}}
>
<div id="qr-reader" style={{ width: '100%', height: '100%', flex: 1 }}></div>
{/* Error message */}
{qrError && (