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

style: use "inert" cursor only for disabled current links #2213

Merged
merged 2 commits into from
May 21, 2024

Conversation

Robbert
Copy link
Member

@Robbert Robbert commented May 17, 2024

Naar aanleiding van een vraag in Slack: https://codefornl.slack.com/archives/C01DAT4TRPF/p1715946802625149

Ik gebruik het BreadcrumbNav component van de Gemeente Utrecht.
Maar ik zie een verschillende cursors voor normale NavLinks en voor de huidige / "current" NavLink.
Als ik over de NavLinks hover met mijn cursor krijg ik de “pointer” cursor (vanuit de user agent stylesheet).
Maar bij het huidige / “current” NavLink Item krijg ik de pointer vanuit het --utrecht-action-inert-cursor token. (in mijn geval de default pointer)
Zit er een reden achter het verschil voor de “current” NavLink en de andere NavLink’s?

@Robbert Robbert requested a review from bddjong May 17, 2024 12:53
Copy link

vercel bot commented May 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
utrecht ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2024 1:10pm

Copy link
Contributor

@bddjong bddjong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Robbert Cursor lijkt te werken zoals verwacht nu. Ongerelateerd aan cursor styles:

  • Visueel zijn disabled breadcrumb elementen nog steeds een link, behalve dat ze niet klikbaar zijn en geen underline hebben. Is dat niet een beetje verwarrend qua hoe we visueel de functionaliteit aangeven?
  • Current page disabled heeft geen not allowed style, disabled heeft wel een not-allowed style (inconsistent of de bedoeling?)

@Robbert Robbert merged commit b508981 into main May 21, 2024
15 checks passed
@Robbert Robbert deleted the style/breadcrumb-link-cursor branch May 21, 2024 09:28
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.

None yet

2 participants