Skip to content

Commit

Permalink
[Avatar] Use theme.spacing.unit (#10268)
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii authored and oliviertassinari committed Feb 13, 2018
1 parent 0d9ac14 commit 6c92ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Avatar/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const styles = theme => ({
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
width: 40,
height: 40,
width: theme.spacing.unit * 5,
height: theme.spacing.unit * 5,
fontFamily: theme.typography.fontFamily,
fontSize: theme.typography.pxToRem(20),
borderRadius: '50%',
Expand Down

0 comments on commit 6c92ef1

Please sign in to comment.