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

Navigation: Fix active item hover color #67732

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

tyxla
Copy link
Member

@tyxla tyxla commented Dec 9, 2024

What?

Fixes the color of the Navigation component active item hover state.

Why?

Just a fix, it's currently a bit broken.

Found while testing #67649.

How?

Also explicitly specifying hover state in addition to the other selectors

Testing Instructions

Testing Instructions for Keyboard

Same

Screenshots or screencast

Before After
Screenshot 2024-12-09 at 12 07 04 Screenshot 2024-12-09 at 12 06 43

@tyxla tyxla added [Type] Enhancement A suggestion for improvement. [Package] Components /packages/components labels Dec 9, 2024
@tyxla tyxla requested a review from a team December 9, 2024 10:08
@tyxla tyxla self-assigned this Dec 9, 2024
@tyxla tyxla requested a review from ajitbohra as a code owner December 9, 2024 10:08
Copy link

github-actions bot commented Dec 9, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: tyxla <[email protected]>
Co-authored-by: mirka <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Comment on lines -26 to -32
### Enhancements

- `BorderBoxControl`: Reduce gap value when unlinked ([#67049](https://github.com/WordPress/gutenberg/pull/67049)).
- `DropdownMenu`: Increase option height to 40px ([#67435](https://github.com/WordPress/gutenberg/pull/67435)).
- `MenuItem`: Increase height to 40px ([#67435](https://github.com/WordPress/gutenberg/pull/67435)).
- `MenuItemsChoice`: Increase option height to 40px ([#67435](https://github.com/WordPress/gutenberg/pull/67435)).

Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like this section is duplicating; using the opportunity to move these above.

Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

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

Tests well 👍

@tyxla tyxla merged commit e772438 into trunk Dec 9, 2024
64 of 66 checks passed
@tyxla tyxla deleted the fix/navigation-active-item-hover-color branch December 9, 2024 14:00
@github-actions github-actions bot added this to the Gutenberg 19.9 milestone Dec 9, 2024
yogeshbhutkar pushed a commit to yogeshbhutkar/gutenberg that referenced this pull request Dec 18, 2024
* Navigation: Fix active item hover color

* Add CHANGELOG entry

* Fix duplicate Enhancements sections

Co-authored-by: tyxla <[email protected]>
Co-authored-by: mirka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants