We do need `@extend .navbar-expand-` rules

Created on 13 April 2024, 9 months ago
Updated 6 August 2024, 5 months ago

Problem/Motivation

In 📌 Remove navbar-expand- rule Fixed I've removed `@extend .navbar-expand-#{$navbar-collapse-responsive-break};` but this was an error. We do need this by default because we do not want to use `.navbar-expand-` in template but control this over SASS.

We need to bring this back, but we still want to be able to disable it for projects that have very custom layout in header and also we do not need quite a few rules that are coming from this expand like `.navbar > .container`. So instead of having a extend hard dependency I think we will just add CSS rules we need from BS navbar-expand and put this in a new partial so custom projects can easily opt-out this rules.

🐛 Bug report
Status

Fixed

Component

BS Bootstrap

Created by

🇷🇸Serbia pivica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024