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
Reduce the breakpoints over which navbar (expand) classes are generated
Motivation and context
Navbar classes are generated for all breakpoints, but in most cases this could be a waste of bytes in the resulting css. We usually need just a couple of navbar-breakpoints. I suggest we use
$navbar-breakpoints: $grid-breakpoints;
in _variables.scss and loop over it in _navbar.scss
This way we can customize/reduce (e.g. $navbar-breakpoints: map-remove($grid-breakpoints, xl, xxl);) $navbar-breakpoints in our builds to the ones we actually need.
kind regards
The text was updated successfully, but these errors were encountered:
Prerequisites
Proposal
Reduce the breakpoints over which navbar (expand) classes are generated
Motivation and context
Navbar classes are generated for all breakpoints, but in most cases this could be a waste of bytes in the resulting css. We usually need just a couple of navbar-breakpoints. I suggest we use
in
_variables.scss
and loop over it in_navbar.scss
This way we can customize/reduce (e.g.
$navbar-breakpoints: map-remove($grid-breakpoints, xl, xxl);
) $navbar-breakpoints in our builds to the ones we actually need.kind regards
The text was updated successfully, but these errors were encountered: