fix(components): [el-menu] icon is not to the right of the text (#6268)

This commit is contained in:
Alan Wang 2022-03-11 02:58:44 -05:00 committed by GitHub
parent 103bb1b104
commit b6f61dd562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,10 @@
color: var(--el-menu-text-color);
}
& .#{$namespace}-sub-menu__title {
padding-right: 40px;
}
& .#{$namespace}-menu-item.is-active,
& .#{$namespace}-sub-menu.is-active > .#{$namespace}-sub-menu__title {
color: var(--el-menu-active-color);