Merge pull request #1245 from dataease/pr@dev@refactor_panel-scroll

refactor: 移除画布设计时滚动条,优化设计体验
This commit is contained in:
王嘉豪 2021-11-23 11:36:28 +08:00 committed by GitHub
commit 70427efba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -820,7 +820,6 @@ export default {
}
},
canvasScroll(event) {
// console.log('testTop' + event.target.scrollTop)
this.scrollLeft = event.target.scrollLeft
this.scrollTop = event.target.scrollTop
},
@ -968,7 +967,6 @@ export default {
height: 400px!important;
.el-dialog__header{
// background-color: #f4f4f5;
padding: 10px 20px !important;
.el-dialog__headerbtn {
@ -979,11 +977,16 @@ export default {
padding: 1px 15px !important;
}
}
.style-hidden{
overflow-x: hidden;
}
.style-hidden{
overflow-x: hidden;
}
.button-text {
color: var(--TextActive);
}
::-webkit-scrollbar {
width: 0px;
height: 0px;
}
</style>