Skip to content

Commit

Permalink
Fix ratio parameter for propertyVW
Browse files Browse the repository at this point in the history
  • Loading branch information
pierregradelet committed Apr 2, 2024
1 parent cbd7b8f commit fc3b81a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/front/src/styles/_ratio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@
/// @param {Number} $n1
/// @param {Number} $ratioVW []
/// @output
@mixin propertyVW(
$property,
$n1,
$ratioVW: fn.strip-units(breakpoints.$breakpoint-mobile)
) {
@mixin propertyVW($property, $n1, $ratioVW: viewport.$viewport-reference-width) {
#{$property}: #{fn.ratioVW($n1, $ratioVW)};
}

Expand Down

0 comments on commit fc3b81a

Please sign in to comment.