From 6181c56b92473e3f99de833054c313a5109a2d44 Mon Sep 17 00:00:00 2001 From: Tony White Date: Thu, 14 Apr 2022 15:56:22 -0500 Subject: [PATCH] Bug #12070: make _button-group.scss compatible with libsass 3.6.3 --- scss/components/_button-group.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scss/components/_button-group.scss b/scss/components/_button-group.scss index 92da7d269..4734408a1 100644 --- a/scss/components/_button-group.scss +++ b/scss/components/_button-group.scss @@ -241,10 +241,16 @@ $buttongroup-radius-on-each: true !default; } @each $name, $color in $button-palette { - $individual-selector: if($button-fill == $filling, null, ' #{$buttongroup-child-selector}.#{$name}'); - - &.#{$name} #{$buttongroup-child-selector}, #{$individual-selector} { - @include button-fill-style($filling, $color, auto, auto); + @if($button-fill != $filling) { + $individual-selector: ' #{$buttongroup-child-selector}.#{$name}'; + &.#{$name} #{$buttongroup-child-selector}, &#{$individual-selector} { + @include button-fill-style($filling, $color, auto, auto); + } + } + @else { + &.#{$name} #{$buttongroup-child-selector} { + @include button-fill-style($filling, $color, auto, auto); + } } } } -- 2.47.2