override default styles for mobile modal bug

This commit is contained in:
lemonknowsall committed 2025-10-27 14:56:56 -07:00
1 parent 25a5151e38
commit ae95955e9e
1 file changed
+1 -1
+1 -1
View File
@@ -492,7 +492,7 @@ export function WalletModals({
stopScanning();
}
}}>
<DialogContent className="max-w-full w-screen h-screen p-0 bg-black border-0 [&>button]:absolute [&>button]:top-4 [&>button]:right-4 [&>button]:z-50 [&>button]:text-white [&>button]:bg-black/50 [&>button]:hover:bg-black/70">
<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>
{/* Error message */}