Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Nov 19, 2024
1 parent 54b1f01 commit b4d44e9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
27 changes: 27 additions & 0 deletions src/components/ADempiere/FieldDefinition/FieldButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -398,3 +398,30 @@ export default {
}
}
</script>

<style lang="scss">
.custom-field-text {
max-height: 36px;
}
.el-input.is-disabled .el-input__inner {
background-color: #dfe5f078;
border-color: #dfe4ed;
color: #76797e;
cursor: not-allowed;
font-weight: 630;
}

// indicates if the textarea is adjustable
.el-textarea__inner {
&.field-in-table {
resize: none !important;
}
}

// does not superimpose the character counter on the input text
.el-textarea {
>.el-input__count {
line-height: 10px;
}
}
</style>
2 changes: 1 addition & 1 deletion src/components/ADempiere/FieldDefinition/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export default {
},
styleDraggable() {
if (this.field.componentPath === 'FieldButton') {
return 'text-align: center !important;'
return 'text-align: center !important;width: max-content;'
}
if (!this.isDraggable) {
return ''
Expand Down
4 changes: 3 additions & 1 deletion src/components/ADempiere/TabManager/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export default defineComponent({
}
return {
height: '100% !important',
overflow: 'auto'
overflow: 'hidden'
}
})

Expand Down Expand Up @@ -597,6 +597,8 @@ export default defineComponent({
}
}

console.log({ query, routerParams, currentRoute })

const { keyColumn } = store.getters.getStoredTab(props.parentUuid, containerUuid)
if (!isEmptyValue(query.recordId)) {
filtersRecord = {
Expand Down

0 comments on commit b4d44e9

Please sign in to comment.