Fix QR code overflow on mobile (#589)
Co-authored-by: ekzyis <ek@stacker.news>
This commit is contained in:
parent
843774183b
commit
cbcf80e1ba
@ -207,7 +207,7 @@ function HeaderHeader ({ user }) {
|
|||||||
})
|
})
|
||||||
showModal(({ onClose }) => (
|
showModal(({ onClose }) => (
|
||||||
<>
|
<>
|
||||||
<a className='d-flex m-auto p-3' style={{ background: 'white', width: 'fit-content' }} href={`lightning:${lnurlp}`}>
|
<a className='d-flex m-auto p-3' style={{ background: 'white', maxWidth: 'fit-content' }} href={`lightning:${lnurlp}`}>
|
||||||
<QRCode className='d-flex m-auto' value={lnurlp} renderAs='svg' size={300} />
|
<QRCode className='d-flex m-auto' value={lnurlp} renderAs='svg' size={300} />
|
||||||
</a>
|
</a>
|
||||||
<div className='text-center fw-bold text-muted mt-3'>click or scan</div>
|
<div className='text-center fw-bold text-muted mt-3'>click or scan</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user