Skip to content
Browse files

Return number type in em() to fix #24

  • Loading branch information...
1 parent 739e4c1 commit c1b14003d42fd41171891694d53167c047557c5e @kaishin kaishin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/assets/stylesheets/functions/_px-to-em.scss
View
2 app/assets/stylesheets/functions/_px-to-em.scss
@@ -1,3 +1,3 @@
@function em($pxval, $base: 16) {
- @return #{$pxval / $base}em;
+ @return ($pxval / $base) * 1em;
}

0 comments on commit c1b1400

Please sign in to comment.
Something went wrong with that request. Please try again.