scrollbar

This commit is contained in:
xyf-mac 2021-11-12 22:50:39 +08:00
parent 5e66833905
commit d7ae6c4f45

View File

@ -407,8 +407,7 @@ export default class Index extends Vue {
display: flex; display: flex;
flex: 1; flex: 1;
flex-direction: row; flex-direction: row;
overflow-x: hidden; overflow: auto;
overflow-y: auto;
.left { .left {
display: flex; display: flex;
@ -429,6 +428,7 @@ export default class Index extends Vue {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.treeList { .treeList {
margin-top: 3px; margin-top: 3px;
height: 100%; height: 100%;
@ -468,10 +468,10 @@ export default class Index extends Vue {
flex: 1; flex: 1;
background: #e5e9f2; background: #e5e9f2;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: overlay;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 0; width: 6px;
background: #999; background: #999;
border-radius: 2px; border-radius: 2px;
height: 6px; height: 6px;