Skip to content

Commit

Permalink
πŸ› fixes #188
Browse files Browse the repository at this point in the history
  • Loading branch information
sprioleau committed Jul 29, 2022
1 parent 15f3125 commit dde9670
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stylesheets/breakpoint/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
$unit: unit($value);
@if $unit == 'px' {
@return $value / 16px * 1em;
@return calc($value / 16px) * 1em;
}
@else if $unit == '%' {
@return $value / 100% * 1em;
@return calc($value / 100%) * 1em;
}
@else if $unit == 'em' {
@return $value;
}
@else if $unit == 'pt' {
@return $value / 12pt * 1em;
@return calc($value / 12pt) * 1em;
}
@else {
@return $value;
Expand Down

0 comments on commit dde9670

Please sign in to comment.