Skip to content

Commit

Permalink
fix: Fix box mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
FRO1D committed Oct 25, 2021
1 parent 0b04b06 commit e15c37c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mixins/box/box.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use 'sass:string';
@use '../../functions/math/with-unit/with-unit.scss' as *;

/**
Expand All @@ -11,6 +12,6 @@
$width: with-unit($width);
$height: with-unit($height);

width: if($width == 'n', null, $width);
height: if($height == 'n', null, $height);
width: if($width == 'n', null, string.unquote(#{$width}));
height: if($height == 'n', null, string.unquote(#{$height}));
}

0 comments on commit e15c37c

Please sign in to comment.