Skip to content

Anchor nav marker when nav item requires two lines #14597

@helloDanuk

Description

@helloDanuk

Bug description

These long German terms 🤦‍♂️ cause the anchor marker's position to shift if the nav item spans more than one line.

Image

How to reproduce

  • Change CP to German
  • Create a longer nav item or e.g. install SEO Pro.

Logs

Environment

Environment
Laravel Version: 13.7.0
PHP Version: 8.4.19
Composer Version: 2.9.5
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 1
License Key: Not set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.16.0 PRO

Statamic Addons
statamic/seo-pro: 7.7.0

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions