Skip to content

Commit

Permalink
Adding default to the variables (sass) (#109)
Browse files Browse the repository at this point in the history
This small fix makes it easier to override the default variable values for the different icon sizes.
  • Loading branch information
janwillemvd authored and lipis committed Apr 12, 2016
1 parent 1996a91 commit d9e4a61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bootstrap-social.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
* https://github.com/lipis/bootstrap-social
*/

$bs-height-base: ($line-height-computed + $padding-base-vertical * 2);
$bs-height-lg: (floor($font-size-large * $line-height-base) + $padding-large-vertical * 2);
$bs-height-sm: (floor($font-size-small * 1.5) + $padding-small-vertical * 2);
$bs-height-xs: (floor($font-size-small * 1.2) + $padding-small-vertical + 1);
$bs-height-base: ($line-height-computed + $padding-base-vertical * 2) !default;
$bs-height-lg: (floor($font-size-large * $line-height-base) + $padding-large-vertical * 2) !default;
$bs-height-sm: (floor($font-size-small * 1.5) + $padding-small-vertical * 2) !default;
$bs-height-xs: (floor($font-size-small * 1.2) + $padding-small-vertical + 1) !default;

.btn-social {
position: relative;
Expand Down

0 comments on commit d9e4a61

Please sign in to comment.