Skip to content

Commit

Permalink
Update button sizes.
Browse files Browse the repository at this point in the history
Resolves #169.
  • Loading branch information
srph committed Nov 18, 2015
1 parent 872adca commit ff049b6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
23 changes: 13 additions & 10 deletions docs/dist/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 15 additions & 12 deletions styles/components/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@
.btn {
display: inline-block;
// Size
padding: 0 20px;
padding: 0 40px;
// Supposedly the same as above, but for some reason,
// Montserrat looks like it's not centered when it's
// the same values
line-height: 30px;
height: 36px;
line-height: 36px;
font-size: $font-size-base;
border: 1px solid transparent;
border-radius: $border-radius-base;
Expand Down Expand Up @@ -98,22 +99,24 @@
}

&.-xs {
height: 25px;
font-size: $mini;
line-height: 25px;
padding: 0 15px;
height: 22px;
font-size: 12px;
line-height: 22px;
}

&.-small {
height: 30px;
font-size: $mini;
line-height: 30px;
padding: 0 20px;
height: 26px;
font-size: 12px;
line-height: 26px;
}

&.-large {
height: 50px;
padding: 0 25px;
font-size: $tiny;
line-height: 40px;
padding: 0 45px;
height: 45px;
font-size: 20px;
line-height: 45px;
}

&.-large > .icon:first-child {
Expand Down

0 comments on commit ff049b6

Please sign in to comment.