Unverified 提交 f99652f8 authored 作者: 王嘉豪's avatar 王嘉豪 提交者: GitHub

Merge pull request #1642 from dataease/feat_panel-switch-picture

refactor: 组件间隙在有背景颜色时也保持一致
......@@ -535,7 +535,7 @@ export default {
return this.$store.state.curComponent
},
curGap() {
return (this.canvasStyleData.panel.gap === 'yes' && this.element.auxiliaryMatrix && this.element.type !== 'custom') ? this.componentGap : 0
return (this.canvasStyleData.panel.gap === 'yes' && this.element.auxiliaryMatrix) ? this.componentGap : 0
},
...mapState([
'editor',
......
......@@ -161,12 +161,13 @@ export default {
<style lang="scss" scoped>
.my-container {
position: absolute;
position: relative;
overflow: auto;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
border-radius: 5px;
}
.ccondition-main {
......@@ -241,11 +242,12 @@ export default {
}
.first-element-contaner {
width: calc(100% - 10px);
/*width: calc(100% - 10px);*/
width: 100%;
background: initial;
position: absolute;
bottom: 5px;
margin: 0 4px;
bottom: 0px;
/*margin: 0 4px;*/
div {
width: 100%;
......@@ -258,7 +260,7 @@ export default {
.first-element-grid-contaner {
background: #fff;
border: 1px solid #d7dae2;
top: 5px;
top: 0px;
}
.condition-main-line {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论