From 33121de9a80002d469eed18996c51b448526f006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 3 Sep 2024 17:19:40 +0200 Subject: [PATCH] Fix deprecation warning with Sass 1.77.7 --- scss.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scss.scss b/scss.scss index aa1f82b9..f1856a51 100644 --- a/scss.scss +++ b/scss.scss @@ -163,10 +163,6 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height @mixin _rfs-media-query-rule { @if $rfs-class == enable { - @if $rfs-mode == min-media-query { - @content; - } - @include _rfs-media-query () { .enable-rfs &, &.enable-rfs { @@ -288,6 +284,10 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height #{$property}: $val; } @else { + @if $rfs-class == enable and $rfs-mode == min-media-query { + #{$property}: if($rfs-mode == max-media-query, $fluid-val, $val); + } + @include _rfs-rule () { #{$property}: if($rfs-mode == max-media-query, $val, $fluid-val);