fix(core): update
This commit is contained in:
parent
d49d5f70ef
commit
46b30a1ef0
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-catalog',
|
name: '@design.estate/dees-catalog',
|
||||||
version: '1.0.251',
|
version: '1.0.252',
|
||||||
description: 'website for lossless.com'
|
description: 'website for lossless.com'
|
||||||
}
|
}
|
||||||
|
@ -313,13 +313,15 @@ export class DeesTable<T> extends DeesElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.action {
|
.action {
|
||||||
|
position: relative;
|
||||||
margin: -4px 0px;
|
margin: -4px 0px;
|
||||||
padding: 8px 10px;
|
padding: 8px 10px;
|
||||||
line-height: 32px;
|
line-height: 24px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
size: 16px;
|
size: 16px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action:first-child {
|
.action:first-child {
|
||||||
@ -655,7 +657,7 @@ export class DeesTable<T> extends DeesElement {
|
|||||||
const width = window.getComputedStyle(cell).width;
|
const width = window.getComputedStyle(cell).width;
|
||||||
if (cell.textContent.includes('Actions')) {
|
if (cell.textContent.includes('Actions')) {
|
||||||
const neededWidth =
|
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`;
|
cell.style.width = `${Math.max(neededWidth, 68)}px`;
|
||||||
} else {
|
} else {
|
||||||
cell.style.width = width;
|
cell.style.width = width;
|
||||||
|
Loading…
Reference in New Issue
Block a user