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

Remove interactive styles from sidebar item without URL #11692

Merged

Conversation

zepfietje
Copy link
Member

Description

Currently, sidebar items without URL (null) still have hover and focus-visible styles. This PR ensures those interactive styles aren't applied for link placeholders.

  • Visual changes (if any) are shown using screenshots/recordings of before and after.

Code style

  • composer cs command has been run.

Testing

  • Changes have been tested.

Documentation

  • Documentation is up-to-date.

@zepfietje zepfietje added bug Something isn't working ui labels Mar 5, 2024
@zepfietje zepfietje added this to the v3 milestone Mar 5, 2024
@zepfietje zepfietje requested a review from danharrin March 5, 2024 08:33
@danharrin
Copy link
Member

Can we just remove these classes if the URL is blank?

@zepfietje
Copy link
Member Author

Updated, @danharrin.

@danharrin danharrin merged commit 5d9e37c into 3.x Mar 5, 2024
21 checks passed
@danharrin danharrin deleted the remove-interactive-styles-from-sidebar-item-without-url branch March 5, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants