From 03f0e2a3220106ec2a9dd8f53d3ef5ab824c3ae7 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 10 一月 2025 09:47:02 +0800 Subject: [PATCH] 添加OCR --- 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