Skip to content

Commit

Permalink
fix(button-link): Center align the text in button link.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanoglesby08 committed Sep 28, 2017
1 parent f316a2b commit 9a55ebe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/Button/Button.modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ $button-text-color: $color-white;
composes: medium boldFont from '../Typography/Text/Text.modules.scss';
composes: height font from '../FormFields.modules.scss';

display: block;
display: flex;
align-items: center;
justify-content: center;

width: 100%;
padding: 0 $spacing-wide;

transition: background 0.2s;
Expand All @@ -32,8 +33,8 @@ $button-text-color: $color-white;

@include from-breakpoint(medium) {
.button {
display: inline-block;
width: auto;
display: inline-flex;

min-width: 180px;
}

Expand Down

0 comments on commit 9a55ebe

Please sign in to comment.