Skip to content

Commit

Permalink
fix(button): center lone icon in ios
Browse files Browse the repository at this point in the history
Fixes #85
  • Loading branch information
jaketrent committed Aug 29, 2017
1 parent 21b3e38 commit 9842f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/button/src/react/index.js
Expand Up @@ -149,7 +149,7 @@ const styleIconAlignIconContainer = ({ iconAlign }) =>
: null

const styleIconOnlyIconContainer = ({ iconOnly }) =>
iconOnly ? { margin: 0 } : null
iconOnly ? { justifyContent: 'center', width: '100%', margin: 0 } : null

const IconContainer = glamorous.div(
{
Expand Down

0 comments on commit 9842f30

Please sign in to comment.