Skip to content

Commit

Permalink
Fix deprecation warning with Sass 1.77.7
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Sep 3, 2024
1 parent cab0439 commit 33121de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scss.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 33121de

Please sign in to comment.