From 7748b38a6e7afc2415975b9c41adab4e1733d330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Teles?= <31255210+apteles@users.noreply.github.com> Date: Thu, 3 Mar 2022 16:45:40 -0300 Subject: [PATCH] Add verification use of & outside of style rules (#4276) --- build/scss/mixins/_backgrounds.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scss/mixins/_backgrounds.scss b/build/scss/mixins/_backgrounds.scss index a4a031c59..786e5368e 100644 --- a/build/scss/mixins/_backgrounds.scss +++ b/build/scss/mixins/_backgrounds.scss @@ -4,7 +4,7 @@ // Background Variant @mixin background-variant($name, $color) { - &.bg-#{$name} { + #{if(&, "&.bg-#{$name}",".bg-#{$name}")} { background-color: #{$color} !important; &,