Skip to content

Commit

Permalink
SDP-895: Include trustline asset issuer (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliaromao authored Oct 9, 2023
1 parent 3ecf052 commit 70d30fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/components/WalletTrustlines/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,10 @@ export const WalletTrustlines = ({
key={`${a.code}-${a.issuer}`}
>
<div className="WalletTrustlines__asset__info">
<div>{ASSET_NAME?.[a.code] || ""}</div>
<span>{a.code}</span>
{ASSET_NAME?.[a.code] && <div>{ASSET_NAME?.[a.code]}</div>}
<span>
{a.code}:{a.issuer}
</span>
</div>

{!a.isNative && a.id ? (
Expand Down
4 changes: 2 additions & 2 deletions src/components/WalletTrustlines/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.WalletTrustlines {
&__asset {
display: flex;
align-items: center;
justify-content: space-between;
gap: pxToRem(16px);
border: 1px solid var(--color-gray-30);
Expand All @@ -13,15 +12,16 @@

&__info {
display: flex;
flex-direction: column;
gap: pxToRem(8px);
align-items: center;
font-size: pxToRem(14px);
line-height: pxToRem(22px);
font-weight: var(--font-weight-regular);
color: var(--color-gray-80);

span {
color: var(--color-gray-60);
font-size: pxToRem(12px);
}
}
}
Expand Down

0 comments on commit 70d30fd

Please sign in to comment.