why extend
is not working in this case?
.button {
&_red {
background-color: red;
}
}
.panel {
.button:extend(.button_red) {}
}
Actual output:
.button_red {
background-color: red;
}
Expected output:
.button_red {
background-color: red;
}
.panel .button {
background-color: red;
}
OR
.button_red,
.panel .button {
background-color: red;
}