Skip to content

Normalize hover styling for top-level left nav link (SSW Products) - #779

Draft
adamcogan with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-hover-styling-ssw-products
Draft

Normalize hover styling for top-level left nav link (SSW Products)#779
adamcogan with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-hover-styling-ssw-products

Conversation

Copilot AI commented Jul 17, 2026

Copy link
Copy Markdown

Left-hand nav hover behavior was inconsistent: grouped submenu links showed the expected hover treatment, while the top-level SSW Products item did not. This updates the top-level link styling path so standalone left-nav items render the same hover UX as adjacent items.

  • What changed

    • Updated the top-level NavigationBarLeftNavItemStringItem link classes in components/shared/NavBarClient.tsx.
    • Added the missing hover/text transition utilities used by peer left-nav links:
      • hover:text-white
      • underline-offset-4
      • transition-colors
    • Kept active-state underline behavior (after:scale-x-100 after:origin-left) unchanged.
  • Why this addresses the issue

    • The SSW Products entry is rendered through the standalone string-item path, which lacked the hover class set already present in submenu item rendering.
    • Aligning class composition between these paths restores consistent hover feedback across left-nav items.
  • Code snippet

    className={cn(
      "mx-3 text-base flex flex-row gap-1 items-center min-h-[42px] rounded uppercase whitespace-nowrap writing-mode-horizontal hover:text-white underline-offset-4 transition-colors",
      isActive && "after:scale-x-100 after:origin-left"
    )}

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ssw-products Error Error Jul 17, 2026 2:20am

Request Review

Copilot AI changed the title [WIP] Fix hover styling for left-hand nav item "SSW Products" Normalize hover styling for top-level left nav link (SSW Products) Jul 17, 2026
Copilot AI requested a review from adamcogan July 17, 2026 02:21
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.

Fix hover styling for left-hand nav item "SSW Products"

2 participants