fix: QR alignment
This commit is contained in:
@ -224,13 +224,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.qr-modal .pfp .username {
|
.qr-modal .pfp .username {
|
||||||
text-align: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qr-modal canvas {
|
.qr-modal canvas {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.qr-modal .pfp .display-name {
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.profile .zap-amount {
|
.profile .zap-amount {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
|
@ -259,7 +259,11 @@ export default function ProfilePage() {
|
|||||||
{showProfileQr && (
|
{showProfileQr && (
|
||||||
<Modal className="qr-modal" onClose={() => setShowProfileQr(false)}>
|
<Modal className="qr-modal" onClose={() => setShowProfileQr(false)}>
|
||||||
<ProfileImage pubkey={id} />
|
<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>
|
</Modal>
|
||||||
)}
|
)}
|
||||||
{isMe ? (
|
{isMe ? (
|
||||||
|
Reference in New Issue
Block a user