From 55ff4ad6155248a7c2f391fd4fe75682a311dac0 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期四, 24 七月 2025 16:54:26 +0800 Subject: [PATCH] refactor(svg): 优化 SVG相关组件功能 --- zhitan-vue/src/assets/styles/sidebar.scss | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/zhitan-vue/src/assets/styles/sidebar.scss b/zhitan-vue/src/assets/styles/sidebar.scss index 297e8e4..d4393a1 100644 --- a/zhitan-vue/src/assets/styles/sidebar.scss +++ b/zhitan-vue/src/assets/styles/sidebar.scss @@ -13,6 +13,7 @@ .main-container { + background-color: #110f2e !important; height: 100%; transition: margin-left 0.28s; margin-left: $base-sidebar-width; @@ -28,7 +29,7 @@ transition: width 0.28s; width: $base-sidebar-width !important; background-color: $base-menu-background; - height: 100%; + height: calc(100% - 60px) !important; position: fixed; top: 60px; bottom: 0; @@ -51,7 +52,7 @@ .scrollbar-wrapper { overflow-x: hidden !important; - height: calc(100% - 290px) !important; + height: calc(100% - 194px) !important; } .el-scrollbar__bar.is-vertical { @@ -306,6 +307,7 @@ } .main-container { + background-color: #f7f8fa; height: 100%; transition: margin-left 0.28s; margin-left: $base-sidebar-width; @@ -321,7 +323,7 @@ transition: width 0.28s; width: $base-sidebar-width !important; background-color: $base-menu-background; - height: 100%; + height: calc(100% - 60px) !important; position: fixed; top: 60px; bottom: 0; @@ -389,7 +391,7 @@ .menu-title { overflow: hidden !important; font-weight: 400 !important; - font-size: 16px !important; + font-size: 14px !important; } // @media (min-width: 1440px) { -- Gitblit v1.9.3