Skip to content

Commit

Permalink
Merge pull request #12 from whatsnewsisyphus/master
Browse files Browse the repository at this point in the history
Fixed lineheightmod
  • Loading branch information
Pushplaybang committed Aug 7, 2015
2 parents c8b19b2 + 9e29639 commit 24c0f1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _knife.sass
Expand Up @@ -168,10 +168,10 @@ $outputrems: true !default
//lineheightmod to replace push and pull with a single value, easy declare eg. to bump up lineheight by one whole line (2 half lines) for an element ktype(0,1,1,2)
@if $lineheightmod < 0
$m: ($lineheightmod / 2)
$new-line-height: $new-line-height - ($new-line-height*$m)
$new-line-height: $new-line-height + ($kb*$m)
@else if $lineheightmod > 0
$m: ($lineheightmod / 2)
$new-line-height: $new-line-height + ($new-line-height*$m)
$new-line-height: $new-line-height + ($kb*$m)

// offset
@if $offset != 0
Expand Down
4 changes: 2 additions & 2 deletions _knife.scss
Expand Up @@ -194,10 +194,10 @@ $outputrems: true !default;
//lineheightmod to replace push and pull with a single value, easy declare eg. to bump up lineheight by one whole line (2 half lines) for an element ktype(0,1,1,2)
@if ($lineheightmod < 0) {
$m: ($lineheightmod / 2);
$new-line-height: $new-line-height - ($new-line-height*$m);
$new-line-height: $new-line-height + ($kb*$m);
} @else if ($lineheightmod > 0) {
$m: ($lineheightmod / 2);
$new-line-height: $new-line-height + ($new-line-height*$m);
$new-line-height: $new-line-height + ($kb*$m);
}

// offset
Expand Down

0 comments on commit 24c0f1c

Please sign in to comment.