Skip to content

Commit

Permalink
Merge pull request #20354 from brave/fix-account-icon-border-radius
Browse files Browse the repository at this point in the history
fix(wallet): Account Icons Border Radius
  • Loading branch information
Douglashdaniel authored Oct 3, 2023
2 parents 99f15b9 + bb06f27 commit 03ec080
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,19 @@ export const AccountBox = styled.div<{
: 'var(--box-medium)'
};
border-radius: ${(p) =>
p.size === 'big' ? 8 : 4}px;
p.round
? '50%'
: p.size === 'big'
? '8px'
: '4px'
};
background-image: url(${(p) => p.orb});
background-size: cover;
margin-right: ${(p) =>
p.marginRight !== undefined
? p.marginRight
: 0
}px;
border-radius: ${(p) => p.round ? '50%': 'unset'};
`

export const AccountIcon = styled(Icon) <{
Expand Down

0 comments on commit 03ec080

Please sign in to comment.