Skip to content

Commit

Permalink
fix(ButtonPrimitive): fallback to text-align (#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
vepor committed Jun 16, 2020
1 parent 2b8b8dc commit bd7f59f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/primitives/ButtonPrimitive/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export const StyledButtonPrimitive = styled(
align-items: center;
box-sizing: border-box;
appearance: none;
text-align: center;
text-decoration: ${underlined ? "underline" : "none"};
flex: ${fullWidth ? "1 1 auto" : "0 0 auto"};
max-width: 100%; // to ensure that Buttons content wraps in IE
Expand Down

0 comments on commit bd7f59f

Please sign in to comment.