From fcf9ec3a93cbf4a8b41cb6fc1cd5db641d2f6243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 28 Aug 2024 10:25:17 +0200 Subject: [PATCH] fix rollback button slot --- ...ent-workspace-view-info-history.element.ts | 30 +++++-------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info-history.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info-history.element.ts index 2808d9bc26..a7745267f2 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info-history.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/workspace/views/info/document-workspace-view-info-history.element.ts @@ -97,16 +97,14 @@ export class UmbDocumentWorkspaceViewInfoHistoryElement extends UmbLitElement { override render() { return html` -
-

History

- - ${this.localize.term('actions_rollback')} - -
+ History + + ${this.localize.term('actions_rollback')} + ${this._items ? this.#renderHistory() : html` `} ${this.#renderPagination()}
`; @@ -167,18 +165,6 @@ export class UmbDocumentWorkspaceViewInfoHistoryElement extends UmbLitElement { font-size: 2rem; } - #rollback { - display: flex; - width: 100%; - align-items: center; - justify-content: space-between; - } - - #rollback h2 { - font-size: var(--uui-type-h5-size); - margin: 0; - } - uui-tag uui-icon { margin-right: var(--uui-size-space-1); }