vben
2020-11-11 bda3e5da30b434dd3a5879695261422fdd365455
fix: fix menu style not work
1个文件已修改
27 ■■■■■ 已修改文件
src/components/Menu/src/index.less 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Menu/src/index.less
@@ -50,12 +50,25 @@
  }
  // collapsed show title end
  .ant-menu-submenu-title {
    > .basic-menu__name {
      display: flex;
      width: 100%;
      justify-content: space-between;
      align-items: center;
    }
  }
  &__name {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  .ant-menu-item {
    transition: unset;
    > .basic-menu__name {
      .basic-menu__tag {
        float: right;
        margin-top: @app-menu-item-height / 2;
        transform: translate(0%, -50%);
      }
    }
  }
  &__tag {
@@ -217,10 +230,6 @@
        }
      }
    }
  }
  .ant-menu-item {
    transition: unset;
  }
  &:not(.basic-menu__sidebar-hor).ant-menu-inline-collapsed {