mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-02-03 10:28:41 +08:00
fix: fix menu style not work
This commit is contained in:
parent
a3887f8cd9
commit
bda3e5da30
@ -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 {
|
||||
@ -219,10 +232,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ant-menu-item {
|
||||
transition: unset;
|
||||
}
|
||||
|
||||
&:not(.basic-menu__sidebar-hor).ant-menu-inline-collapsed {
|
||||
.basic-menu-item__level1 {
|
||||
> div {
|
||||
|
Loading…
Reference in New Issue
Block a user