fix: QR alignment
This commit is contained in:
parent
b9267fe1e1
commit
374e571aa6
@ -224,13 +224,21 @@
|
||||
}
|
||||
|
||||
.qr-modal .pfp .username {
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.qr-modal canvas {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.qr-modal .pfp .display-name {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.profile .zap-amount {
|
||||
font-weight: normal;
|
||||
margin-left: 4px;
|
||||
|
@ -259,7 +259,11 @@ export default function ProfilePage() {
|
||||
{showProfileQr && (
|
||||
<Modal className="qr-modal" onClose={() => setShowProfileQr(false)}>
|
||||
<ProfileImage pubkey={id} />
|
||||
<QrCode data={`nostr:${hexToBech32(NostrPrefix.PublicKey, id)}`} link={undefined} className="m10" />
|
||||
<QrCode
|
||||
data={`nostr:${hexToBech32(NostrPrefix.PublicKey, id)}`}
|
||||
link={undefined}
|
||||
className=" m10 align-center"
|
||||
/>
|
||||
</Modal>
|
||||
)}
|
||||
{isMe ? (
|
||||
|
Loading…
x
Reference in New Issue
Block a user