Переглянути джерело

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

lrl 3 роки тому
батько
коміт
0337a0300c

+ 2 - 1
src/layout/components/sidebar/sidebarItem.vue

@@ -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)"
             >
             >

+ 1 - 0
src/style/sidebar.scss

@@ -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;