Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 11:29:20 +08:00

style: 优化 element-plus 2.4.1 版本下 el-menu--horizontal 样式

This commit is contained in:
pany 2023-10-18 15:48:54 +08:00
parent a91b8848a9
commit 7307f4caa2

View File

@ -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),