Add a white background to the QR code (#231) (#239)

pull/248/head
PlutoCRown 9 months ago committed by GitHub
parent cc86e34e11
commit ba6237db7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -53,7 +53,7 @@ export default function Uploader({
return ( return (
<> <>
<div className="flex w-full items-center"> <div className="flex w-full items-center">
<div className="flex-none mr-4"> <div className="flex-none mr-4 bg-white p-2">
<QRCode value={shortURL ?? ''} size={QR_CODE_SIZE} /> <QRCode value={shortURL ?? ''} size={QR_CODE_SIZE} />
</div> </div>
<div className="flex-auto flex flex-col justify-center space-y-2"> <div className="flex-auto flex flex-col justify-center space-y-2">

Loading…
Cancel
Save