diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue index afe517f4f1..396051f81b 100644 --- a/src/layout/components/Sidebar/Item.vue +++ b/src/layout/components/Sidebar/Item.vue @@ -48,7 +48,7 @@ export default { white-space: break-spaces; line-height: 20px; height: auto; - padding: 18px 23px 18px 0; + padding: 8px 23px 8px 0; } .item-title { diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 55dfe43914..74c48da66e 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -69,14 +69,12 @@ } .el-menu-item { - height: 40px !important; - padding-bottom: 10px; - font-size: 13px; + height: auto !important; + padding: 0; } .el-submenu__title { - height: 40px !important; - font-size: 13px; + height: auto !important; } // menu hover