Skip to content

Commit

Permalink
fix(transfer-item): align number display
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyyaaa committed Dec 18, 2023
1 parent 5d526b5 commit 77bb75c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/ui/transfer-item/transfer-item.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,14 @@ export default function TransferItem(props: TransferItemProps) {
endAddon={() => (
<Stack direction="vertical" space="$0">
{props.disabled ? (
<Text fontSize="$2xl">{props.amount}</Text>
<Box
width="auto"
flex="1"
display="flex"
justifyContent="flex-end"
>
<Text fontSize="$2xl">{props.amount}</Text>
</Box>
) : (
<Box>
{/* @ts-ignore */}
Expand Down

0 comments on commit 77bb75c

Please sign in to comment.