Skip to content

Footer & nav hover decoration underlines only on last line #15850

@janbrasna

Description

@janbrasna

In languages or viewports that make some navigation links span across multiple lines, surprisingly only parts of the hovered anchor text get underlined:

Screen.Recording.2025-01-02.at.3.33.40.mov

The underline only decorating some of the lines makes it a bit puzzling for a moment, not being clear what words are actually part of what link etc.

This also happens in main menu when the items don't fit on one line:

Screenshot 2025-01-07 at 0 47 18

The underlines were coded this way to match the visual design assets provided, instead of the implicit style the typeface provides (or, doesn't) by itself.
(Not to be confused with #15683, that has the decoration animated, and has extra markup.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething's not working the way it should

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions