fix(core): update
This commit is contained in:
@ -313,13 +313,15 @@ export class DeesTable<T> extends DeesElement {
|
||||
}
|
||||
|
||||
.action {
|
||||
position: relative;
|
||||
margin: -4px 0px;
|
||||
padding: 8px 10px;
|
||||
line-height: 32px;
|
||||
line-height: 24px;
|
||||
height: 32px;
|
||||
size: 16px;
|
||||
display: inline-block;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.action:first-child {
|
||||
@ -655,7 +657,7 @@ export class DeesTable<T> extends DeesElement {
|
||||
const width = window.getComputedStyle(cell).width;
|
||||
if (cell.textContent.includes('Actions')) {
|
||||
const neededWidth =
|
||||
this.dataActions.filter((actionArg) => actionArg.type.includes('inRow')).length * 35;
|
||||
this.dataActions.filter((actionArg) => actionArg.type.includes('inRow')).length * 36;
|
||||
cell.style.width = `${Math.max(neededWidth, 68)}px`;
|
||||
} else {
|
||||
cell.style.width = width;
|
||||
|
Reference in New Issue
Block a user