From cc9950e750084a88fbbf27ae138f462f53738aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Kozl=C3=ADk?= Date: Tue, 13 Jun 2023 14:31:58 +0200 Subject: [PATCH] Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. --- lib/bootstrap4/vendor/_rfs.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bootstrap4/vendor/_rfs.scss b/lib/bootstrap4/vendor/_rfs.scss index 5c15ac1b7..6c5d60c7f 100644 --- a/lib/bootstrap4/vendor/_rfs.scss +++ b/lib/bootstrap4/vendor/_rfs.scss @@ -79,15 +79,15 @@ $rfs-breakpoint-unit-cache: unit($rfs-breakpoint); // Remove px-unit from $fs for calculations @if $fs-unit == "px" { - $fs: $fs / ($fs * 0 + 1); + $fs: calc($fs / ($fs * 0 + 1)); } @else if $fs-unit == "rem" { - $fs: $fs / ($fs * 0 + calc(1 / $rfs-rem-value)); + $fs: calc($fs / (1 / $rfs-rem-value)); } // Set default font-size @if $rfs-font-size-unit == rem { - $rfs-static: #{$fs / $rfs-rem-value}rem#{$rfs-suffix}; + $rfs-static: #{calc($fs / $rfs-rem-value)}rem#{$rfs-suffix}; } @else if $rfs-font-size-unit == px { $rfs-static: #{$fs}px#{$rfs-suffix};