Skip to content

[6.x] Make active nav anchor position more accurate#14675

Merged
jaygeorge merged 1 commit into
6.xfrom
fix-sidebar-current-nav-marker-position
May 14, 2026
Merged

[6.x] Make active nav anchor position more accurate#14675
jaygeorge merged 1 commit into
6.xfrom
fix-sidebar-current-nav-marker-position

Conversation

@jaygeorge
Copy link
Copy Markdown
Contributor

@jaygeorge jaygeorge commented May 14, 2026

Description of the Problem

The anchor position that handles the "current nav" menu was positioned a little incorrectly.
This was only exposed when a line wrapped, as detailed here #14597

image

What this PR Does

How to Reproduce

  1. Change a nav item to a long word and make it the current page

…on when a nav item has a longer word and wraps (hi, Germany 👋)
@jaygeorge jaygeorge merged commit 4cecd7a into 6.x May 14, 2026
19 checks passed
@jaygeorge jaygeorge deleted the fix-sidebar-current-nav-marker-position branch May 14, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Anchor nav marker when nav item requires two lines

1 participant