Skip to content

fix: broken hover in Navbar#318

Merged
Daryna-del merged 2 commits into
mainfrom
fix/hover-bugs
Jun 18, 2026
Merged

fix: broken hover in Navbar#318
Daryna-del merged 2 commits into
mainfrom
fix/hover-bugs

Conversation

@Daryna-del

@Daryna-del Daryna-del commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What/Why/How?

After migration styled-components to v6 we faced with some regression on hover in Navbar.

Reference

Screenshot 2026-06-12 at 14 00 55 Screenshot 2026-06-12 at 14 00 50

Testing

Screenshots (optional)

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@Daryna-del Daryna-del requested a review from a team as a code owner June 18, 2026 15:26
@Daryna-del Daryna-del self-assigned this Jun 18, 2026

@redocly redocly Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

marketing-site AI Review: 🟢 Completed

Note

Low Risk

This is a minor UI styling fix with no behavior or logic changes, addressing a syntax requirement introduced by a library upgrade. The blast radius is limited strictly to the visual hover state of a few Navbar components.

Overview

Updates CSS syntax in Navbar and NavbarItem to fix broken hover effects caused by a recent migration to styled-components v6. Specifically, it prepends the ampersand parent selector (&) to :hover pseudo-classes to ensure styles are correctly nested and applied.

@Daryna-del Daryna-del merged commit 0ad362b into main Jun 18, 2026
6 of 7 checks passed
@Daryna-del Daryna-del deleted the fix/hover-bugs branch June 18, 2026 15:38
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.

2 participants