spacing for urls, clickable lnurl
This commit is contained in:
@ -105,11 +105,17 @@
|
|||||||
|
|
||||||
.profile .website {
|
.profile .website {
|
||||||
color: var(--highlight);
|
color: var(--highlight);
|
||||||
margin-bottom: 4px;
|
margin: 6px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile .lnurl {
|
.profile .lnurl {
|
||||||
color: var(--highlight);
|
color: var(--highlight);
|
||||||
|
margin: 6px 0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile .lnurl:hover {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile .btn-icon {
|
.profile .btn-icon {
|
||||||
@ -128,11 +134,6 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile .lnurl::before {
|
|
||||||
content: '⚡️ ';
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profile .details-wrapper {
|
.profile .details-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -67,12 +67,14 @@ export default function ProfilePage() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{lnurl ? <div className="lnurl f-ellipsis">
|
{lnurl && (
|
||||||
|
<>
|
||||||
|
⚡️
|
||||||
|
<span className="lnurl f-ellipsis" onClick={(e) => setShowLnQr(true)}>
|
||||||
{lnurl}
|
{lnurl}
|
||||||
<div className="btn btn-icon" onClick={(e) => setShowLnQr(true)}>
|
</span>
|
||||||
<FontAwesomeIcon icon={faQrcode} size="lg" />
|
</>
|
||||||
</div>
|
)}
|
||||||
</div> : null}
|
|
||||||
<LNURLTip svc={lnurl} show={showLnQr} onClose={() => setShowLnQr(false)} />
|
<LNURLTip svc={lnurl} show={showLnQr} onClose={() => setShowLnQr(false)} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user