From 0018335d64a2dd0cd009dcf440e346e809ce5605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=B4=BA?= Date: Fri, 20 Mar 2026 18:32:17 +0800 Subject: [PATCH] fix: unify sidebar menu item heights (#12253) --- frontend/src/layout/components/Sidebar/index.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {