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

This commit is contained in:
wangjiahao 2021-07-30 11:39:11 +08:00
parent 82594e9030
commit 75a3851742
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"
@drop="handleDrop"
@dragover="handleDragOver"
@ -827,5 +828,8 @@ export default {
padding: 1px 15px !important;
}
}
.style-hidden{
overflow: hidden;
}
</style>