mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
Various fixes
This commit is contained in:
parent
25707d8e29
commit
505ec1da87
10
src/assets/icons/lightning_white.svg
Normal file
10
src/assets/icons/lightning_white.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<svg width="14" height="20" viewBox="0 0 14 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9211 7.71733C14.1194 7.45376 13.921 7.0876 13.5799 7.0876H8.66235L9.6442 0.953049C9.81526 0.125008 8.6907 -0.353895 8.15325 0.318065L0.0861641 11.5986C-0.123564 11.8608 0.07342 12.2377 0.420148 12.2377H5.30747L4.28387 19.0603C4.12666 19.8963 5.27231 20.3544 5.79207 19.6633L13.9211 7.71733Z" fill="url(#paint0_linear_6273_8209)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9211 7.71733C14.1194 7.45376 13.921 7.0876 13.5799 7.0876H8.66235L9.6442 0.953049C9.81526 0.125008 8.6907 -0.353895 8.15325 0.318065L0.0861641 11.5986C-0.123564 11.8608 0.07342 12.2377 0.420148 12.2377H5.30747L4.28387 19.0603C4.12666 19.8963 5.27231 20.3544 5.79207 19.6633L13.9211 7.71733Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_6273_8209" x1="4.55" y1="1.37931" x2="10.0011" y2="18.3238" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.078125" stop-color="#FFD12F"/>
|
||||
<stop offset="0.860784" stop-color="#FF9F2F"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
@ -154,6 +154,14 @@
|
||||
&.noBack {
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
.lnIcon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-image: url('../../assets/icons/lightning.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
.lnbcAlter {
|
||||
@ -314,12 +322,12 @@
|
||||
&.noBack {
|
||||
background-color: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.lnIcon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-image: url('../../assets/icons/lightning.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
.lnIcon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-image: url('../../assets/icons/lightning_white.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ const Lnbc: Component< { id?: string, lnbc: string, alternative?: boolean, noBac
|
||||
`${humanizeNumber(parseInt(invoice.sections.find(s => s.name === 'amount')?.value ||'0') / 1_000)} sats`;
|
||||
|
||||
const description = () =>
|
||||
invoice.sections.find(s => s.name === 'description')?.value;
|
||||
decodeURI(invoice.sections.find(s => s.name === 'description')?.value);
|
||||
|
||||
const confirmPayment = () => app?.actions.openConfirmModal({
|
||||
title: intl.formatMessage(lnInvoice.confirm.title),
|
||||
|
@ -31,7 +31,7 @@
|
||||
flex-direction: column;
|
||||
margin-left: 8px;
|
||||
justify-content: space-between;
|
||||
height: 40px;
|
||||
height: 44px;
|
||||
|
||||
.name {
|
||||
display: flex;
|
||||
|
@ -276,8 +276,13 @@
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
}
|
||||
|
||||
.messageLn {
|
||||
padding: 0 12px !important;
|
||||
}
|
||||
}
|
||||
+ .myThread {
|
||||
padding: 0 12px !important;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
@ -292,6 +297,10 @@
|
||||
border-radius: 12px 12px 12px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.messageLn {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
+ .theirThread {
|
||||
margin-bottom: 20px;
|
||||
|
@ -1056,7 +1056,7 @@ export const placeholders = {
|
||||
},
|
||||
resetRelaysHelp: {
|
||||
id: 'placeholders.resetRelaysHelp',
|
||||
defaultMessage: 'This action will disconnect you from any relays you are currently connected to and connect you to a set of recomended relays. THIS CHANGE WILL BE PROPAGETED TO THE NOSTR NETWOK NOSTR.',
|
||||
defaultMessage: 'This action will disconnect you from any relays you are currently connected to and connect you to a set of recomended relays.',
|
||||
description: 'text for caching pool help bubble',
|
||||
},
|
||||
comingSoon: {
|
||||
|
Loading…
Reference in New Issue
Block a user