Compare commits

...

6 Commits

Author SHA1 Message Date
2222fb1e01 1.0.252 2024-01-21 13:57:27 +01:00
46b30a1ef0 fix(core): update 2024-01-21 13:57:26 +01:00
d49d5f70ef 1.0.251 2024-01-21 13:36:48 +01:00
76a950e2ba fix(core): update 2024-01-21 13:36:47 +01:00
077aba5e58 1.0.250 2024-01-21 13:27:29 +01:00
857362423f fix(core): update 2024-01-21 13:27:29 +01:00
3 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@design.estate/dees-catalog",
"version": "1.0.249",
"version": "1.0.252",
"private": false,
"description": "website for lossless.com",
"main": "dist_ts_web/index.js",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-catalog',
version: '1.0.249',
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: 10px;
line-height: 34px;
height: 34px;
padding: 8px 10px;
line-height: 24px;
height: 32px;
size: 16px;
display: inline-block;
border-radius: 8px;
overflow: hidden;
}
.action:first-child {
@ -429,6 +431,7 @@ export class DeesTable<T> extends DeesElement {
<dees-input-multitoggle
.label=${'search mode'}
.options=${['table', 'data', 'server']}
.selectedOption=${'table'}
.description=${`
There are three basic modes:
@ -654,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;