Skip to content

Commit

Permalink
Fix icon buttons on accounts page
Browse files Browse the repository at this point in the history
  • Loading branch information
limemloh committed Oct 24, 2024
1 parent 81e611c commit 6c6cbac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
color: $color-white;
}

.capture__main_small {
.wrap-anywhere {
overflow-wrap: anywhere;
}

Expand All @@ -46,8 +46,10 @@

.button__icon {
gap: rem(16px);
height: rem(16px);
width: rem(16px);

svg {
width: rem(16px);
}

.label__main {
color: $color-white;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function AccountListItem({ credential }: AccountListItemProps) {
/>
</Card.Row>
<Card.Row>
<Text.Capture>{address}</Text.Capture>
<Text.Capture className="wrap-anywhere">{address}</Text.Capture>
<Button.Icon className="transparent" onClick={() => copyToClipboard(address)} icon={<Copy />} />
</Card.Row>
<Card.Row>
Expand Down

0 comments on commit 6c6cbac

Please sign in to comment.