From 4745c48798fc7d967a7fd4416c10050d4f79fb98 Mon Sep 17 00:00:00 2001 From: birt <2499248221@qq.com> Date: 星期日, 13 四月 2025 21:43:49 +0800 Subject: [PATCH] 123 --- zhitan-vue/src/layout/components/Sidebar/index.vue | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/zhitan-vue/src/layout/components/Sidebar/index.vue b/zhitan-vue/src/layout/components/Sidebar/index.vue index 68596a6..fcb7d47 100644 --- a/zhitan-vue/src/layout/components/Sidebar/index.vue +++ b/zhitan-vue/src/layout/components/Sidebar/index.vue @@ -162,12 +162,13 @@ } :deep(.scrollbar-wrapper) { - height: calc(100% - 290px) !important; + height: calc(100% - 220px) !important; overflow-x: hidden !important; } :deep(.scrollbar-view) { height: 100%; + padding-bottom: 20px; } :deep(.el-scrollbar__bar.is-vertical) { @@ -237,6 +238,28 @@ height: 38px !important; line-height: 38px !important; } + + // Add styling for deeply nested submenus (level 3+) + .el-sub-menu { + .el-menu-item { + padding-left: 65px !important; + + &.is-active { + padding-left: 65px !important; + } + } + + // Level 4 + .el-menu { + .el-menu-item { + padding-left: 85px !important; + + &.is-active { + padding-left: 85px !important; + } + } + } + } } } } @@ -250,7 +273,7 @@ // 搴曢儴鐢ㄦ埛鍖哄煙鏍峰紡 .sidebar-footer { position: absolute; - bottom: 72px; + bottom: 0; left: 0; width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.1); -- Gitblit v1.9.3