fix(core): update
This commit is contained in:
parent
50a84f2422
commit
555fa32ac2
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@design.estate/dees-catalog',
|
||||
version: '1.0.224',
|
||||
version: '1.0.225',
|
||||
description: 'website for lossless.com'
|
||||
}
|
||||
|
@ -609,8 +609,8 @@ export class DeesTable<T> extends DeesElement {
|
||||
// Get computed width
|
||||
const width = window.getComputedStyle(cell).width;
|
||||
if (cell.textContent.includes('Actions')) {
|
||||
cell.style.minWidth = '68px';
|
||||
cell.style.width = `${this.dataActions.filter(actionArg => actionArg.type.includes('inRow')).length * 35}px`;
|
||||
const neededWidth = this.dataActions.filter(actionArg => actionArg.type.includes('inRow')).length * 35;
|
||||
cell.style.width = `${Math.max(neededWidth, 68)}px`;
|
||||
} else {
|
||||
cell.style.width = width;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user