- Issue created by @pivica
- Status changed to Needs review
10 months ago 1:29pm 16 February 2024 - Status changed to Fixed
9 months ago 1:56pm 12 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.
There can be a case when you want to remove `@import "bootstrap/scss/navbar";` from your `navigation.scss` and do custom stuff. Trying to do this will result in nex t error when compiling CSS:
Message:
../../contrib/bs_base/themes/bs_bootstrap/sass/components/partials/_navigation.scss
Error: ".navbar" failed to @extend ".navbar-expand-lg".
The selector ".navbar-expand-lg" was not found.
Use "@extend .navbar-expand-lg !optional" if the extend should be able to fail.
on line 189 of ../../contrib/bs_base/themes/bs_bootstrap/../bs_bootstrap/sass/components/partials/_navigation.scss
Meaning we have a hard recuirement on navbar-expand- rule from Bootstrap. Further more it seems we do not use this rule at all in bs_bootstrap templates. Probably I added this long time ago, removed it from templates and forgot to remove it from CSS.
Let's fix this.
Fixed
1.0
BS Bootstrap
Automatically closed - issue fixed for 2 weeks with no activity.