diff --git a/frontend/src/layout/components/Sidebar/index.scss b/frontend/src/layout/components/Sidebar/index.scss index 3b1a302c9..408a766c1 100644 --- a/frontend/src/layout/components/Sidebar/index.scss +++ b/frontend/src/layout/components/Sidebar/index.scss @@ -9,6 +9,7 @@ background-color: var(--el-menu-item-bg-color); margin: 7px 0; height: 42px; + line-height: 42px; box-shadow: 0px 0px 4px rgba(0, 94, 235, 0.1); box-sizing: border-box; @@ -52,7 +53,8 @@ background-color: var(--el-menu-item-bg-color); box-shadow: 0 0 4px rgba(0, 94, 235, 0.1); margin-top: 7px; - height: 46px; + height: 42px; + line-height: 42px; border-radius: 4px; &:hover { .el-icon {