perf: refine style

This commit is contained in:
花裤衩 2020-06-11 13:54:34 +08:00
parent cd1229babf
commit 19d2f8e871
3 changed files with 15 additions and 6 deletions

View File

@ -31,3 +31,11 @@ export default {
}
}
</script>
<style scoped>
.sub-el-icon {
color: currentColor;
width: 1em;
height: 1em;
}
</style>

View File

@ -204,7 +204,7 @@ export const asyncRoutes = [
path: 'create',
component: () => import('@/views/example/create'),
name: 'CreateArticle',
meta: { title: 'Create Article', icon: 'edit' }
meta: { title: 'Create Article', icon: 'el-icon-s-help' }
},
{
path: 'edit/:id(\\d+)',

View File

@ -58,11 +58,8 @@
}
.sub-el-icon {
margin-right: 13px;
margin-left: -1px;
color: currentColor;
width: 1em;
height: 1em;
margin-right: 12px;
margin-left: -2px;
}
.el-menu {
@ -194,6 +191,10 @@
.svg-icon {
margin-right: 16px;
}
.sub-el-icon {
margin-right: 12px;
margin-left: -2px;
}
}
.nest-menu .el-submenu>.el-submenu__title,