refactor:仪表板自适应模式下,去掉滚动条

This commit is contained in:
wangjiahao 2021-07-30 11:39:11 +08:00
parent 162ba5f48b
commit e6beaed195
2 changed files with 5 additions and 0 deletions

View File

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

View File

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