@design.estate/dees-catalog 1.0.251 → 1.0.253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +5 -3
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-table.js +5 -3
- package/dist_watch/bundle.js +5 -2
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/dees-table.ts +4 -2
package/package.json
CHANGED
|
@@ -313,13 +313,15 @@ export class DeesTable<T> extends DeesElement {
|
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.action {
|
|
316
|
+
position: relative;
|
|
316
317
|
margin: -4px 0px;
|
|
317
318
|
padding: 8px 10px;
|
|
318
|
-
line-height:
|
|
319
|
+
line-height: 24px;
|
|
319
320
|
height: 32px;
|
|
320
321
|
size: 16px;
|
|
321
322
|
display: inline-block;
|
|
322
323
|
border-radius: 8px;
|
|
324
|
+
overflow: hidden;
|
|
323
325
|
}
|
|
324
326
|
|
|
325
327
|
.action:first-child {
|
|
@@ -655,7 +657,7 @@ export class DeesTable<T> extends DeesElement {
|
|
|
655
657
|
const width = window.getComputedStyle(cell).width;
|
|
656
658
|
if (cell.textContent.includes('Actions')) {
|
|
657
659
|
const neededWidth =
|
|
658
|
-
this.dataActions.filter((actionArg) => actionArg.type.includes('inRow')).length *
|
|
660
|
+
this.dataActions.filter((actionArg) => actionArg.type.includes('inRow')).length * 36;
|
|
659
661
|
cell.style.width = `${Math.max(neededWidth, 68)}px`;
|
|
660
662
|
} else {
|
|
661
663
|
cell.style.width = width;
|