From 9d13b94770822d039b150cbcf36eb27a1bbbb3e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20M=C3=B8ller=20Jensen?= <26099018+JesmoDev@users.noreply.github.com> Date: Thu, 8 Jun 2023 17:37:20 +1200 Subject: [PATCH] add body layout --- ...ashboard-translation-dictionary.element.ts | 57 +++++++++---------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts b/src/Umbraco.Web.UI.Client/src/packages/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts index e044194b5b..0da96591f0 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/translation/dashboards/dictionary/dashboard-translation-dictionary.element.ts @@ -146,42 +146,41 @@ export class UmbDashboardTranslationDictionaryElement extends UmbLitElement { } render() { - return html`
- Create dictionary item - -
- -
-
-
- ${when( - this._tableItemsFiltered.length, - () => html` `, - () => html`There were no dictionary items found.` - )}`; + return html` + + + ${when( + this._tableItemsFiltered.length, + () => html` `, + () => html`There were no dictionary items found.` + )} + + `; } static styles = [ UUITextStyles, css` - :host { - display: block; - padding: var(--uui-size-layout-1); - } - - #dictionary-top-bar { - margin-bottom: var(--uui-size-space-5); + #header { display: flex; justify-content: space-between; + width: 100%; } umb-table {