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

fix: background color visibility on dropdown hover #3330. #3337

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/navigation/MenuBlocks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function MenuBlocks({ items = [] }: MenuBlocksProps) {
<span
data-testid='MenuBlocks-Link'
className={`-m-3 flex items-start space-x-4 rounded-lg p-3 transition duration-150 ease-in-out ${
router.asPath === item.href ? 'bg-secondary-100 shadow-sm' : 'hover:bg-gray-50'
router.asPath === item.href ? 'bg-secondary-100 shadow-sm' : 'hover:bg-gray-300'
}`}
>
<div
Expand Down
2 changes: 1 addition & 1 deletion components/navigation/NavMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function NavMenu({ items = [] }: NavMenuProps) {
data-testid='NavMenu-Link'
>
<Paragraph typeStyle={ParagraphTypeStyle.sm} textColor='text-gray-900' className='font-semibold'>
{item.text}
{item.text}
</Paragraph>
<Paragraph typeStyle={ParagraphTypeStyle.sm}>{item.description}</Paragraph>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion components/navigation/SubCategoryDocsNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function SubCategoryDocsNav({ subCategory, activeItem, onClick }:
<DocsNavItem
{...subCategory.item}
activeSlug={activeItem}
defaultClassName={`font-body text-sm text-black leading-8 ${
defaultClassName={`font-body text-sm text-blue-600 leading-8 ${
subCategory.children ? 'hover:font-semibold' : 'hover:text-secondary-600'
}`}
inactiveClassName='font-regular'
Expand Down
Loading