From 1aa5c4200a1c0ad4178edbff150554f37077fd95 Mon Sep 17 00:00:00 2001 From: zhuangyuanke Date: Fri, 15 Nov 2024 10:52:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=20=E5=8A=A0=E5=AE=BD=20CSS=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 3 +++ src/views/components/DepartmentList.vue | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index 70b4bbb..96b2dc5 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -78,6 +78,9 @@ export default { height: 15px !important; background-color: #FAFAFA !important; } +::v-deep .el-scrollbar__bar{ + width: 12px !important; +} ::v-deep .el-table { diff --git a/src/views/components/DepartmentList.vue b/src/views/components/DepartmentList.vue index d2cf5b2..a9a2d4a 100644 --- a/src/views/components/DepartmentList.vue +++ b/src/views/components/DepartmentList.vue @@ -291,7 +291,7 @@ export default { } ::-webkit-scrollbar { - width: 5px; + width: 10x; } ::-webkit-scrollbar-thumb { @@ -304,8 +304,8 @@ export default { } .left { - // height: calc(100vh - 119px); - height: 100%; + height: calc(100vh - 119px); + // height: 100%; overflow: auto; position: relative; padding-right: 10px;