提交 bda3e5da 编写于 作者: V vben

fix: fix menu style not work

上级 a3887f8c
...@@ -50,12 +50,25 @@ ...@@ -50,12 +50,25 @@
} }
// collapsed show title end // collapsed show title end
.ant-menu-submenu-title {
> .basic-menu__name {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
}
}
.ant-menu-item {
transition: unset;
&__name { > .basic-menu__name {
display: flex; .basic-menu__tag {
width: 100%; float: right;
justify-content: space-between; margin-top: @app-menu-item-height / 2;
align-items: center; transform: translate(0%, -50%);
}
}
} }
&__tag { &__tag {
...@@ -219,10 +232,6 @@ ...@@ -219,10 +232,6 @@
} }
} }
.ant-menu-item {
transition: unset;
}
&:not(.basic-menu__sidebar-hor).ant-menu-inline-collapsed { &:not(.basic-menu__sidebar-hor).ant-menu-inline-collapsed {
.basic-menu-item__level1 { .basic-menu-item__level1 {
> div { > div {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册