fix(sidebarItem): span focus and enter the border that appears

This commit is contained in:
lrl 2021-11-20 22:29:14 +08:00
parent ee8e0eb733
commit 0337a0300c
2 changed files with 3 additions and 1 deletions

View File

@ -129,7 +129,8 @@ function resolvePath(routePath) {
:style="{ :style="{
width: pureApp.sidebar.opened ? '125px' : '', width: pureApp.sidebar.opened ? '125px' : '',
overflow: 'hidden', overflow: 'hidden',
textOverflow: 'ellipsis' textOverflow: 'ellipsis',
outline: 'none'
}" }"
@mouseover="hoverMenu(onlyOneChild)" @mouseover="hoverMenu(onlyOneChild)"
> >

View File

@ -117,6 +117,7 @@
.el-menu-item, .el-menu-item,
.el-sub-menu__title { .el-sub-menu__title {
height: 50px;
color: $menuText; color: $menuText;
padding: 0 20px 0 40px; padding: 0 20px 0 40px;