Fix css variables.

This commit is contained in:
Caeret
2022-10-28 18:48:28 +08:00
committed by GitHub
parent 8bdfba3cb0
commit 03aa3a74e7

View File

@@ -220,10 +220,10 @@ export default defineComponent({
// 水平菜单
&__horizontal {
height: calc(~'var( - -top-tool-height)') !important;
height: calc(~'var(--top-tool-height)') !important;
:deep(.@{elNamespace}-menu--horizontal) {
height: calc(~'var( - -top-tool-height)');
height: calc(~'var(--top-tool-height)');
border-bottom: none;
// 重新设置底部高亮颜色
& > .@{elNamespace}-sub-menu.is-active {