twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.89k stars 78.88k forks source link

Have .nav-underline bottom aligned inside a .navbar container #39265

Open cpsievert opened 1 year ago

cpsievert commented 1 year ago

Prerequisites

Proposal

Currently, if you add .nav-underline to a .navbar-nav, the underline styling won't line up with the bottom-border of the .navbar. For example:

https://stackblitz.com/edit/zugc1m?file=index.html

It'd be great if the underline styling applied to each .nav-link was aligned with bottom of the .navbar container.

Motivation and context

Most underlined styled navigation I see nowadays tends to align the underline styling with the bottom of a .navbar-like container.

prakashAditya639 commented 1 year ago

Can you just elaborate the issue more??

haxkd commented 1 year ago

@cpsievert the .nav-underline currently works only with .active in .nav-link

DarkLordGeo commented 1 day ago

Hi! I’d like to work on this issue. Can you assign it to me?

julien-deramond commented 1 day ago

Hi @DarkLordGeo We don't assign issues in this repo. I'm going to hide both our comments for readability of the issue.