hotfix, unwrap calc($size / $root-font-size) (#1080)

Context: #1079.
This commit is contained in:
Matt Wang 2022-12-22 00:50:41 -08:00 committed by GitHub
parent f4979fa6e9
commit b6d725d42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
@function rem($size, $unit: "") {
$rem-size: calc($size / $root-font-size);
$rem-size: $size / $root-font-size;
@if $unit == false {
@return #{$rem-size};