mirror of https://github.com/ColorlibHQ/AdminLTE
Add verification use of & outside of style rules (#4276)
parent
bd4d9c7293
commit
7748b38a6e
|
@ -4,7 +4,7 @@
|
|||
|
||||
// Background Variant
|
||||
@mixin background-variant($name, $color) {
|
||||
&.bg-#{$name} {
|
||||
#{if(&, "&.bg-#{$name}",".bg-#{$name}")} {
|
||||
background-color: #{$color} !important;
|
||||
|
||||
&,
|
||||
|
|
Loading…
Reference in New Issue