Skip to content

Commit

Permalink
style: 优化 element-plus 2.4.1 版本下 el-menu--horizontal 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Oct 18, 2023
1 parent a91b884 commit 7307f4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/layouts/components/Sidebar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ const hiddenScrollbarVerticalBar = computed(() => {
width: 100% !important;
}
.el-menu--horizontal {
height: v-bind(sidebarMenuItemHeight);
}
:deep(.el-menu-item),
:deep(.el-sub-menu__title),
:deep(.el-sub-menu .el-menu-item),
Expand Down

0 comments on commit 7307f4c

Please sign in to comment.