fix(core): update

This commit is contained in:
Philipp Kunz 2024-01-21 13:57:26 +01:00
parent d49d5f70ef
commit 46b30a1ef0
2 changed files with 5 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-catalog',
version: '1.0.251',
version: '1.0.252',
description: 'website for lossless.com'
}

View File

@ -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;