Bootstrap 5 nav links being applied to li wrapper

Created on 17 January 2023, almost 2 years ago
Updated 30 January 2023, almost 2 years ago

Problem/Motivation

After upgrading to Bootstrap5 version 3 theme, links output by the `themes/contrib/bootstrap5/templates/navigation/menu-local-tasks.html.twig` were styled incorrectly. On inspection, I could see that the classes `nav-link active` were added to both the a tags and the parent li tags.

Steps to reproduce

Install the Bootstrap5 theme and inspect the links produced by the`themes/contrib/bootstrap5/templates/navigation/menu-local-tasks.html.twig` template.

Proposed resolution

Remove the offending classes from the li wrapper in the template file.

🐛 Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

🇦🇺Australia jaydee1818 Melbourne

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024