浏览代码

Merge pull request #200 from caeret/master

Fix css variables.
Archer 2 年之前
父节点
当前提交
9cffbc9bd6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/Menu/src/Menu.vue

+ 2 - 2
src/components/Menu/src/Menu.vue

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