Merge pull request #428 from dataease/pr@dev@refactor-panle-edit-overflow

refactor:仪表板自适应模式下,去掉滚动条
This commit is contained in:
王嘉豪 2021-07-30 11:49:45 +08:00 committed by GitHub
commit 82431c2393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -215,6 +215,7 @@ export default {
min-height: 300px;
width: 100%;
height: 100%;
overflow-x: hidden;
/*border: 1px solid #E6E6E6;*/
background-size: 100% 100% !important;
.canvas-container {

View File

@ -96,6 +96,7 @@
<div
id="canvasInfo"
:class="{'style-hidden':canvasStyleData.selfAdaption}"
class="content this_canvas"
:class="{'border-hidden':canvasStyleData.selfAdaption}"
@drop="handleDrop"
@ -826,6 +827,9 @@ export default {
padding: 1px 15px !important;
}
}
.style-hidden{
overflow: hidden;
}
.border-hidden {
overflow: hidden;