diff --git a/frontend/src/components/dataease/DeOutWidget.vue b/frontend/src/components/dataease/DeOutWidget.vue index 7ce1807214..47316d13da 100644 --- a/frontend/src/components/dataease/DeOutWidget.vue +++ b/frontend/src/components/dataease/DeOutWidget.vue @@ -77,7 +77,11 @@ export default { const titleWidth = this.$refs.deTitle.offsetWidth const deContentContainer = this.$refs.deContentContainer this.$nextTick(() => { - if (height < 75) { + let min = 75 + if (this.element.component === 'de-number-range') { + min = 105 + } + if (height < min) { // console.log(titleWidth) this.mainClass = 'condition-main-line' deContentContainer && (deContentContainer.style.inset = '0 0 0 ' + (titleWidth + 15) + 'px') @@ -121,6 +125,8 @@ export default { .condition-title-absolute { inset: 0px 0px; position: absolute; + top: 15px; + left: 4px; } .span-container {