diff --git a/_knife.sass b/_knife.sass index 4e5352a..f2016ca 100644 --- a/_knife.sass +++ b/_knife.sass @@ -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 diff --git a/_knife.scss b/_knife.scss index 8bf2bc3..3d1253c 100644 --- a/_knife.scss +++ b/_knife.scss @@ -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