Skip to content

Revisit how navbar link and brand heights are calculated #42650

Description

@julien-deramond

In Bootstrap 5, the height of the nav links and the navbar brand was derived from their font size, line height, and vertical padding. That calculation got changed while the navbar was being reworked, and the current values need a second look.

We should decide whether these heights should still be computed from typography and padding, or set explicitly instead, and then make sure the brand and the links stay vertically aligned across the different navbar sizes and in both light and dark modes.

The relevant styles live in scss/_navbar.scss, where a // TODO: comment marks the spot. Once this is resolved, that comment can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions