Skip to content

Commit

Permalink
fix: use flex to handle wallet name lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
derHowie committed Apr 23, 2024
1 parent 00bab3b commit f648349
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/entries/popup/pages/messages/BottomActions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const WalletName = ({
color="label"
size="14pt"
weight="semibold"
maxWidth={130}
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
>
Expand Down Expand Up @@ -202,7 +201,14 @@ export const BottomSwitchWallet = ({
size={18}
emojiSize={'12pt'}
/>
<WalletName color="label" address={wallet as Address} />
<Box
style={{
flex: 1,
display: 'flex',
}}
>
<WalletName color="label" address={wallet as Address} />
</Box>
</Inline>
</Box>
)}
Expand Down

0 comments on commit f648349

Please sign in to comment.