Skip to content

Commit

Permalink
fix: 修复json编辑器高度不断增加的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JakHuang committed Mar 29, 2020
1 parent 02449bf commit d90f638
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/views/index/JsonDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
关闭
</span>
</div>
<div id="editorJson" :style="{height: '100%'}" />
<div id="editorJson" class="json-editor" />
</el-drawer>
</div>
</template>
Expand Down Expand Up @@ -82,4 +82,8 @@ export default {
display: none;
}
@include action-bar;
.json-editor{
height: calc(100vh - 33px);
}
</style>

0 comments on commit d90f638

Please sign in to comment.