You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grunt compilation can't run the sass task due to invalid markup and invalid sass.
>> Error: ".nav-sitemap > li" failed to @extend "sf-mt-xxs".
>> The selector "sf-mt-xxs" was not found.
>> Use "@extend sf-mt-xxs !optional" if the extend should be able to fail.
>> on line 43 of assets/src/sass/sitefinity/navigation/_sitemap.scss
>> >> @extend sf-mt-xxs; //0
File _navbar.scss, line 43-44 should be, which resolves above problem:
@extend .sf-mt-xxs; //0
@extend .sf-mb-xxs; //0
However @extend is not allowed inside media-queries (line:39-43):
@media only screen and (min-width: $screen-xs-min) and (max-width: $screen-sm-min) {
...
> li {
@extend .sf-mt-xxs; //0
@extend .sf-mb-xxs; //0
...
}
}
Which leaves the following error unresolved:
>> Error: You may not @extend an outer selector from within @media.
>> You may only @extend selectors within the same directive.
>> From "@extend .sf-mt-xxs" on line 43 of assets/src/sass/sitefinity/navigation/_sitemap.scss
The text was updated successfully, but these errors were encountered:
sitefinitydcx
changed the title
Updated bootstrap package not compiling due to extend within media-query and missing .
scss bootstrap package not compiling due to extend within media-query
May 19, 2016
Thank you for reporting this. It turns out to be a problem with sass - extends do not work in media queries. We're going to fix it on our end for the release, expected at the end of next week. Until then, you can replace the extends with:
Grunt compilation can't run the sass task due to invalid markup and invalid sass.
File _navbar.scss, line 43-44 should be, which resolves above problem:
However @extend is not allowed inside media-queries (line:39-43):
Which leaves the following error unresolved:
The text was updated successfully, but these errors were encountered: