Skip to content

Commit

Permalink
[BX-1423] fix: set max width on app connection wallet switcher names (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
derHowie authored Apr 30, 2024
1 parent 38d16bf commit 1f33946
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/entries/popup/pages/messages/BottomActions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ export const WalletName = ({
}: { address: Address } & Partial<TextProps>) => {
const { displayName } = useWalletInfo({ address });
return (
// eslint-disable-next-line react/jsx-props-no-spreading
<TextOverflow color="label" size="14pt" weight="semibold" {...props}>
<TextOverflow
color="label"
size="14pt"
weight="semibold"
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
>
{displayName}
</TextOverflow>
);
Expand Down Expand Up @@ -190,7 +195,7 @@ export const BottomSwitchWallet = ({
}
renderMenuItem={(wallet, i) => (
<Box testId={`switch-wallet-item-${i}`}>
<Inline space="8px" alignVertical="center">
<Inline space="8px" alignVertical="center" wrap={false}>
<WalletAvatar
addressOrName={wallet as Address}
size={18}
Expand Down

0 comments on commit 1f33946

Please sign in to comment.