fix(core): update

This commit is contained in:
Philipp Kunz 2024-01-21 17:14:15 +01:00
parent ebeecd0686
commit 2d712e78b0
2 changed files with 27 additions and 26 deletions

View File

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

View File

@ -315,10 +315,12 @@ export class DeesTable<T> extends DeesElement {
font-weight: inherit;
padding: 0px 6px;
}
.actionContainer {
.actionsContainer {
display: flex;
flex-direction: row;
height: 24px;
display: inline-block;
transform: translateY(-4px);
margin-left: -6px;
}
.action {
position: relative;
@ -329,11 +331,6 @@ export class DeesTable<T> extends DeesElement {
border-radius: 8px;
}
.actionContainer:first-child {
margin-left: -6px;
width: min-content;
}
.action:hover {
background: ${cssManager.bdTheme(colors.bright.blue, colors.dark.blue)};
}
@ -574,24 +571,28 @@ export class DeesTable<T> extends DeesElement {
return html`
<td>
<div class="innerCellContainer">
${this.getActionsForType('inRow').map(
(actionArg) => html`<div class="actionContainer">
<div
class="action"
@click=${() =>
actionArg.actionFunc({
item: itemArg,
table: this,
})}
>
${actionArg.iconName
? html`
<dees-icon .iconFA=${actionArg.iconName}></dees-icon>
`
: actionArg.name}
</div>
</div>`
)}
<div class="actionsContainer">
${this.getActionsForType('inRow').map(
(actionArg) => html`
<div
class="action"
@click=${() =>
actionArg.actionFunc({
item: itemArg,
table: this,
})}
>
${actionArg.iconName
? html`
<dees-icon
.iconFA=${actionArg.iconName}
></dees-icon>
`
: actionArg.name}
</div>
`
)}
</div>
</div>
</td>
`;