Skip to content

Commit

Permalink
Merge pull request #109 from SSWConsulting/tiagov8-patch-1
Browse files Browse the repository at this point in the history
Making menu background different from site white bg
  • Loading branch information
tiagov8 authored Dec 9, 2024
2 parents b33c4e6 + e2ac241 commit 343227e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/components/DesktopMenu/MenuItemWithSubmenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const MenuItemWithSubmenu: React.FC<MenuItemWithSubmenuProps> = ({
leaveFrom="opacity-100 translate-y-0"
leaveTo="opacity-0 -translate-y-1"
>
<Popover.Panel className="absolute inset-x-0 top-[120px] -z-10 bg-white shadow-md shadow-gray-400">
<Popover.Panel className="absolute inset-x-0 top-[120px] -z-10 bg-gray-50 shadow-md shadow-gray-400">
<SubMenuGroup
menuColumns={menuColumns}
sidebarItems={sidebarItems}
Expand Down
4 changes: 2 additions & 2 deletions lib/components/SubMenuGroup/SubMenuGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const SubMenuGroup: React.FC<SubMenuGroupProps> = ({
))}
</div>

<div className="shrink-0 overflow-x-hidden bg-gray-50 lg:relative lg:w-[350px] lg:before:absolute lg:before:inset-0 lg:before:-z-10 lg:before:w-[1000px] lg:before:bg-gray-50">
<div className="shrink-0 overflow-x-hidden bg-gray-100 lg:relative lg:w-[350px] lg:before:absolute lg:before:inset-0 lg:before:-z-10 lg:before:w-[1000px] lg:before:bg-gray-50">
<div className="flex flex-col gap-y-2 px-8 py-4">
{sidebarItems?.map((sideBarItem, i) => (
<div key={i}>
Expand Down Expand Up @@ -109,7 +109,7 @@ const LinkItem: React.FC<{ link: NavMenuColumnGroupItem }> = ({
<CustomLink
href={url || ""}
className={cx(
"flex items-start gap-x-3 rounded-md bg-white text-ssw-black hover:text-ssw-red focus:outline-none",
"flex items-start gap-x-3 text-ssw-black hover:text-ssw-red focus:outline-none",
description ? "p-4" : "p-2",
)}
onClick={() => {
Expand Down

0 comments on commit 343227e

Please sign in to comment.