Skip to content

Commit

Permalink
fix(menu): 修复点击菜单无法正常切换的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lijian01 committed Jan 3, 2025
1 parent 45ba047 commit 7f09dc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/packages/__VUE/menu/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
display: flex;
line-height: $menu-bar-line-height;
background-color: $white;
box-shadow: $menu-bar-box-shadow;

&:not(.opened) {
box-shadow: $menu-bar-box-shadow;
}

&.opened {
z-index: $menu-bar-opened-z-index;
Expand Down
4 changes: 2 additions & 2 deletions src/packages/__VUE/menuitem/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.nut-menu-item {
position: fixed;
z-index: $menu-bar-opened-z-index;
z-index: calc($menu-bar-opened-z-index - 1);
left: 0;
right: 0;
height: 100vh;
Expand Down Expand Up @@ -55,6 +55,6 @@
position: fixed;
left: 0;
right: 0;
z-index: $menu-bar-opened-z-index;
z-index: calc($menu-bar-opened-z-index - 1);
background-color: transparent;
}

0 comments on commit 7f09dc5

Please sign in to comment.