Skip to content

Commit

Permalink
update fixed width kup-data-table
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo-Signorelli committed Jun 27, 2024
1 parent 068d755 commit 0e09b64
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5476,6 +5476,7 @@ export class KupDataTable {
this.#rowsRefs = [];
this.#renderedRows = [];
let elStyle = undefined;
let actionWrapperWidth = undefined;
this.#sizedColumns = this.#getSizedColumns();

let rows = null;
Expand Down Expand Up @@ -5613,6 +5614,11 @@ export class KupDataTable {
width: this.tableWidth,
overflow: 'auto',
};
actionWrapperWidth = {
...actionWrapperWidth,
width: this.tableWidth,
overflow: 'auto',
};
}

let stickyEl = undefined;
Expand Down Expand Up @@ -5672,7 +5678,7 @@ export class KupDataTable {
</style>
<div id={componentWrapperId} class={wrapClass}>
<div class="group-wrapper">{groupChips}</div>
<div class="actions-wrapper">
<div class="actions-wrapper" style={actionWrapperWidth}>
{this.globalFilter ? (
<div id="global-filter">
<FTextField
Expand Down

0 comments on commit 0e09b64

Please sign in to comment.