Skip to content

Commit

Permalink
Fix #441
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed Jan 15, 2017
1 parent 18bf334 commit e0fcd88
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 37 deletions.
66 changes: 33 additions & 33 deletions css/bulma.css

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

2 changes: 1 addition & 1 deletion css/bulma.css.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions sass/elements/button.sass
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ $button-active-border: $link-active-border !default
$button-shadow-inset: inset 0 1px 2px rgba($black, 0.2)

@function buttonIconSpacing($button-font-size, $icon-width)
// The button font-size value with no unit
$button-value: removeUnit($button-font-size)
// The rem height of the button
// based on a height of 2.5em
$button-height: 2.5 * $button-font-size // rem
$button-height: 2.5rem * $button-value // rem
// The rem total horizontal padding of the button
$button-horizontal-padding: 2 * 0.75 * $button-font-size // rem
$button-horizontal-padding: 2 * 0.75rem * $button-value // rem
// For the icon center to align with the button center
// the horizontal padding + the icon width must equal the button height
// $button-height = $button-horizontal-padding + $icon-width + $difference
Expand Down
2 changes: 1 addition & 1 deletion sass/utilities/variables.sass
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ $family-code: $family-monospace !default

$size-small: $size-7 !default
$size-normal: 1rem !default
$size-medium: $size-5 !default
$size-medium: 32px !default
$size-large: $size-4 !default

////////////////////////////////////////////////
Expand Down

0 comments on commit e0fcd88

Please sign in to comment.