From b69959f530c5c51daa19333879ddbf91675e830f Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Thu, 12 Mar 2026 15:45:07 +0800
Subject: [PATCH] 修改
---
src/styles/sidebar.scss | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss
index 1271353..a87545a 100644
--- a/src/styles/sidebar.scss
+++ b/src/styles/sidebar.scss
@@ -12,11 +12,11 @@
.sidebar-container {
transition: width 0.28s;
width: $sideBarWidth !important;
- height: 95%;
+ height: 100%;
position: fixed;
//position: absolute;
font-size: 0px;
- top: 60px;
+ top: 80px;
//top: 0;
bottom: 0;
left: 0;
@@ -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