Skip to content

Commit

Permalink
fix(layout): fix colorBgMenuItemHover no work error
Browse files Browse the repository at this point in the history
close #7425
  • Loading branch information
chenshuai2144 committed Jul 27, 2023
1 parent a2bdb21 commit 3efdd46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/layout/src/ProLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ const BaseProLayout: React.FC<ProLayoutProps> = (props) => {
colorItemBgSelected:
token?.layout?.sider?.colorBgMenuItemSelected ||
token?.colorBgTextHover,
colorItemBgActive:
itemActiveBg:
token?.layout?.sider?.colorBgMenuItemHover ||
token?.colorBgTextHover,
colorItemBgSelectedHorizontal:
Expand Down
2 changes: 1 addition & 1 deletion packages/layout/src/components/TopNavHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const TopNavHeader: React.FC<TopNavHeaderProps> = (
colorItemBgSelected:
token?.layout?.header?.colorBgMenuItemSelected ||
token?.colorBgTextHover,
colorItemBgActive:
itemHoverBg:
token?.layout?.header?.colorBgMenuItemHover ||
token?.colorBgTextHover,
colorItemBgSelectedHorizontal:
Expand Down

0 comments on commit 3efdd46

Please sign in to comment.