diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/tree/entity-actions/sort-children-of/modal/sort-children-of-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/tree/entity-actions/sort-children-of/modal/sort-children-of-modal.element.ts index 9fa721f2c1..981c811a08 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/tree/entity-actions/sort-children-of/modal/sort-children-of-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/tree/entity-actions/sort-children-of/modal/sort-children-of-modal.element.ts @@ -287,8 +287,9 @@ export class UmbSortChildrenOfModalElement extends UmbModalBaseElement< } #renderChild(item: UmbTreeItemModel) { - return html` - + // TODO: find a way to get the icon for the item. We do not have the icon in the tree item model. + return html` + ${item.name} ${this.#renderCreateDate(item)} `; @@ -310,6 +311,14 @@ export class UmbSortChildrenOfModalElement extends UmbModalBaseElement< width: 100%; } + uui-table-cell { + padding: var(--uui-size-space-2) var(--uui-size-space-5); + } + + uui-table-head-cell { + padding: 0 var(--uui-size-space-5); + } + uui-table-head-cell button { background-color: transparent; color: inherit; @@ -328,9 +337,17 @@ export class UmbSortChildrenOfModalElement extends UmbModalBaseElement< visibility: hidden; } + uui-table-row[id='content-node']:hover { + cursor: grab; + } + uui-icon[name='icon-navigation'] { cursor: hand; } + + uui-box { + --uui-box-default-padding: 0; + } `, ]; }