From ad001f76b662c8d1ddebe8aca090ed225b98fdf9 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Tue, 17 Mar 2026 10:08:40 +0800
Subject: [PATCH] 修改
---
src/styles/sidebar.scss | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss
index 81a58e2..a87545a 100644
--- a/src/styles/sidebar.scss
+++ b/src/styles/sidebar.scss
@@ -12,7 +12,7 @@
.sidebar-container {
transition: width 0.28s;
width: $sideBarWidth !important;
- height: 95%;
+ height: 100%;
position: fixed;
//position: absolute;
font-size: 0px;
@@ -30,9 +30,14 @@
.scrollbar-wrapper {
overflow-x: hidden !important;
+ overflow-y: scroll;
+ height: calc(100vh - 80px);
.el-scrollbar__view {
height: 100%;
+ overflow-y: auto;
+ &::-webkit-scrollbar { width: 0; height: 0; color: transparent }
+ &::scrollbar { width: 0; height: 0; color: transparent }
}
}
--
Gitblit v1.9.2