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