forked from github/dataease
fix(仪表板): 修复下拉选过滤组件在适应仪表板自适应缩放时单选和多选高度不一致问题 #4019
This commit is contained in:
parent
548e5e3361
commit
e907080e41
@ -48,7 +48,6 @@
|
|||||||
:element="element"
|
:element="element"
|
||||||
:in-draw="inDraw"
|
:in-draw="inDraw"
|
||||||
:in-screen="inScreen"
|
:in-screen="inScreen"
|
||||||
:size="sizeInfo"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -127,17 +126,6 @@ export default {
|
|||||||
transform: 'scale(' + this.scale + ')'
|
transform: 'scale(' + this.scale + ')'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sizeInfo() {
|
|
||||||
let size
|
|
||||||
if (this.duHeight > this.inputLargeSize) {
|
|
||||||
size = 'medium'
|
|
||||||
} else if (this.duHeight > this.inputSmallSize) {
|
|
||||||
size = 'small'
|
|
||||||
} else {
|
|
||||||
size = 'mini'
|
|
||||||
}
|
|
||||||
return size
|
|
||||||
},
|
|
||||||
deSelectGridBg() {
|
deSelectGridBg() {
|
||||||
if (this.element.component !== 'de-select-grid') return null
|
if (this.element.component !== 'de-select-grid') return null
|
||||||
const { backgroundColorSelect, color } = this.element.commonBackground
|
const { backgroundColorSelect, color } = this.element.commonBackground
|
||||||
@ -222,7 +210,7 @@ export default {
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ccondition-main {
|
.condition-main {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
@ -281,6 +269,11 @@ export default {
|
|||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.first-element-container ::v-deep .el-input__inner {
|
||||||
|
height: 40px !important;
|
||||||
|
line-height: 40px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.first-element-grid-container {
|
.first-element-grid-container {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 1px solid #d7dae2;
|
border: 1px solid #d7dae2;
|
||||||
|
Loading…
Reference in New Issue
Block a user