support custom column width
This commit is contained in:
@@ -10,6 +10,7 @@ export class UmbDocumentTableActionColumnLayoutElement extends LitElement {
|
||||
css`
|
||||
#action-menu-popover {
|
||||
display: block;
|
||||
text-align: right;
|
||||
}
|
||||
#action-menu-dropdown {
|
||||
overflow: hidden;
|
||||
|
||||
@@ -284,7 +284,7 @@ export class UmbTableElement extends LitElement {
|
||||
}
|
||||
|
||||
private _renderRowCell(column: UmbTableColumn, item: UmbTableItem) {
|
||||
return html`<uui-table-cell
|
||||
return html`<uui-table-cell style="width: ${column.width || 'auto'}"
|
||||
>${this._renderCellContent(column, item)}</uui-table-cell
|
||||
>
|
||||
</uui-table-cell>`;
|
||||
|
||||
Reference in New Issue
Block a user