mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
further camera modal style overriding
This commit is contained in:
1 parent
ae95955e9e
commit
a5db59fa67
1 file changed
+16
-2
@@ -492,8 +492,22 @@ export function WalletModals({
|
|||||||
stopScanning();
|
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">
|
<DialogContent
|
||||||
<div id="qr-reader" className="w-full h-full"></div>
|
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 */}
|
{/* Error message */}
|
||||||
{qrError && (
|
{qrError && (
|
||||||
|
|||||||
Reference in new issue
Block a user