Skip to content

Commit

Permalink
fix(projects): fix horizontal menu style
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Nov 11, 2023
1 parent 1530dae commit b3fce71
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/layouts/modules/global-menu/base-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ function handleClickMenu(menuInfo: MenuInfo) {
padding-inline: calc(50% - 14px);
}
.menu-wrapper :deep(.ant-menu-horizontal .ant-menu-item) {
display: flex;
align-items: center;
}
.menu-wrapper :deep(.ant-menu-horizontal .ant-menu-submenu-title) {
display: flex;
align-items: center;
}
.select-menu :deep(.ant-menu-inline .ant-menu-item-selected) {
background-color: v-bind(selectedBgColor);
}
Expand Down

0 comments on commit b3fce71

Please sign in to comment.