Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing CSS vars for .navbar-nav #36689

Merged
merged 1 commit into from Jul 7, 2022

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Jul 6, 2022

While answering to #36684, I may have spotted an issue regarding the definition of --#{$prefix}nav-link-font-size and --#{$prefix}nav-link-font-weight in .navbar-nav.

Without this fix, locally, if you change this in _variables.css:

$nav-link-font-size:                30px !default;
$nav-link-font-weight:              700 !default;

The change is only observable in pages like /docs/5.2/components/navs-tabs/ that use .nav and .nav-links inside.
The change is not observable in the main header of the docs for example that use .navbar-nav and .nav-linkss inside.

With this fix we can see the big bold font everywhere where we have .nav|.navbar-nav and .nav-links inside.

@julien-deramond julien-deramond requested a review from a team as a code owner July 6, 2022 19:21
@julien-deramond julien-deramond added this to In progress in v5.2.0-stable via automation Jul 6, 2022
v5.2.0-stable automation moved this from In progress to Reviewer approved Jul 7, 2022
@mdo mdo merged commit 2bf383c into main Jul 7, 2022
@mdo mdo deleted the main-jd-add-missing-css-var-for-navbar-nav branch July 7, 2022 21:32
v5.2.0-stable automation moved this from Reviewer approved to Done Jul 7, 2022
@Jps-Yoda
Copy link

Hello @julien-deramond, do you know when this is going to be released?.

I installed boostrap 5 5.2.0-beta1 via npm. And this is causing an issue on my project. Not sure when the next version is going to be released with this fix?.

Regards.

@julien-deramond
Copy link
Member Author

Hey @Jps-Yoda. This patch will be in the v5.2.0 (stable release). I don't have have a fixed release date to share but hopefully in a couple of days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v5.2.0-stable
  
Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants