diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 5cc31bb..9a3b986 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -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' } diff --git a/ts_web/elements/dees-table.ts b/ts_web/elements/dees-table.ts index ce097a2..7b9354a 100644 --- a/ts_web/elements/dees-table.ts +++ b/ts_web/elements/dees-table.ts @@ -609,8 +609,8 @@ export class DeesTable 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; }