From d7ae6c4f4542ba95be1995f1ea03a0420e25dc97 Mon Sep 17 00:00:00 2001 From: xyf-mac Date: Fri, 12 Nov 2021 22:50:39 +0800 Subject: [PATCH] scrollbar --- source/src/devtools/ui/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/src/devtools/ui/index.vue b/source/src/devtools/ui/index.vue index d00b638..bde0ad8 100644 --- a/source/src/devtools/ui/index.vue +++ b/source/src/devtools/ui/index.vue @@ -407,8 +407,7 @@ export default class Index extends Vue { display: flex; flex: 1; flex-direction: row; - overflow-x: hidden; - overflow-y: auto; + overflow: auto; .left { display: flex; @@ -429,6 +428,7 @@ export default class Index extends Vue { align-items: center; justify-content: center; } + .treeList { margin-top: 3px; height: 100%; @@ -468,10 +468,10 @@ export default class Index extends Vue { flex: 1; background: #e5e9f2; overflow-x: hidden; - overflow-y: auto; + overflow-y: overlay; &::-webkit-scrollbar { - width: 0; + width: 6px; background: #999; border-radius: 2px; height: 6px;