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:
parent
92887698d7
commit
0e4fd9871d
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue