Skip to content

Commit

Permalink
Tweak layout for sender return address (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho authored May 11, 2024
1 parent b94cf13 commit adb8644
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/ui/components/ui/tx/view/address-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export const AddressViewComponent = ({ view, copyable = true }: AddressViewProps
<div className='flex items-center gap-2 overflow-hidden'>
{accountIndex !== undefined ? (
<>
<AddressIcon address={view.addressView.value.address} size={14} />
<div className='shrink-0'>
<AddressIcon address={view.addressView.value.address} size={14} />
</div>
<span className='break-keep font-bold'>
{addressIndexLabel}
{accountIndex}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/components/ui/tx/view/memo-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const MemoViewComponent = ({ memo: { memoView } }: { memo: MemoView }) =>
visibleContent={
<div className='flex flex-col gap-4'>
<ActionDetails>
<ActionDetails.Row label='Sender Return Address'>
<ActionDetails.Row label='Return Address'>
<AddressViewComponent view={memoView.value.plaintext!.returnAddress} />
</ActionDetails.Row>
<ActionDetails.Row label='Memo Text'>
Expand Down

0 comments on commit adb8644

Please sign in to comment.