Compare commits

..

5 Commits

3 changed files with 12 additions and 5 deletions

View File

@ -107,7 +107,7 @@ export default {
this.detailList[4].class = 'pl-4 mt-2'; this.detailList[4].class = 'pl-4 mt-2';
this.detailList[3].class = 'd-block'; this.detailList[3].class = 'd-block';
this.detailList[2].class = 'd-none'; this.detailList[2].class = 'd-none';
this.detailList[1].class = 'd-block pl-4 mt-1 pb-0'; this.detailList[1].class = 'd-block pl-4 mt-3-new pb-0';
} }
}, },
}, },
@ -503,5 +503,10 @@ const myDetail = [
.tui-grid-layer-state{ .tui-grid-layer-state{
top: 40px !important; top: 40px !important;
} }
.mt-3-new{
margin-top: 3px;
}
} }
</style> </style>

View File

@ -113,8 +113,8 @@ export default {
header: { header: {
height: 28, height: 28,
}, },
rowHeight: 36, rowHeight: 38,
minRowHeight: 36, minRowHeight: 38,
selectionUnit: 'row', selectionUnit: 'row',
editingEvent: 'click', editingEvent: 'click',
}; };
@ -446,7 +446,9 @@ export default {
} }
.tui-grid-cell-content-editor { .tui-grid-cell-content-editor {
height: 36px !important; position: relative;
height: 39px !important;
top: 39px !important;
} }
} }

View File

@ -329,7 +329,7 @@ export class NewCustomEditor {
} }
divEl.style.position = 'relative'; divEl.style.position = 'relative';
divEl.style.top = rowKey === 0 ? '1px' : '3px'; divEl.style.top = rowKey === 0 ? '1px' : '2px';
el.addEventListener('change', (ev) => { el.addEventListener('change', (ev) => {
// console.log('props: %o', ev); // console.log('props: %o', ev);