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
Use case: the light/dark toggler from Bootstrap's own documentation makes use of classes such as me-2 for spacing and theme-icon-active for query selecting.
Activity
PanderMusubi commentedon Oct 18, 2023
Was thinking about this earlier. Thanks for the request. Working on a PR now.
PanderMusubi commentedon Oct 18, 2023
@greyli In the example, why do the links at the end of the nav menu use
<li>...</li>and therender_nav_item()don't?See also https://github.com/helloflask/bootstrap-flask/blob/master/examples/bootstrap5/templates/base.html#L41 and https://getbootstrap.com/docs/5.3/components/scrollspy/#non-visible-elements
Both work, but what is reommended? With out without the
<li>?greyli commentedon Oct 18, 2023
I'm not sure. Users can control this with
_use_liparameter based on their preference, so I don't think we need to change anything.