sass no soporta extend dentro de una media query

por razones que no termino de entender:

https://github.com/sass/sass/issues/1050
This commit is contained in:
f 2021-05-31 14:36:26 -03:00
parent 92887698d7
commit 0e4fd9871d

View file

@ -37,14 +37,14 @@ $directions: (top, right, bottom, left);
/// @example html
/// <div class="square-lg"></div>
.square#{$infix} {
@extend .position-relative;
position: relative !important;
padding-bottom: 100%;
& > * {
@extend .position-absolute;
@extend .top-0;
@extend .left-0;
@extend .h-100;
position: absolute !important;
top: 0 !important;
left: 0 !important;
height: 100% !important;
}
}