diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/backoffice.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/backoffice.element.ts index 2841eeddd2..059399fece 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/backoffice.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/backoffice.element.ts @@ -6,7 +6,6 @@ import './components/backoffice-modal-container.element'; import './components/backoffice-notification-container.element'; import './components/node-property/node-property.element'; import './components/table/table.element'; -import './sections/shared/section-layout.element'; import './sections/shared/section-main/section-main.element'; import './sections/shared/section-sidebar/section-sidebar.element'; import './sections/shared/section.element'; diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/packages/packages-editor.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/packages/packages-editor.element.ts index 046bf338dd..eaf66cbaa9 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/packages/packages-editor.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/sections/packages/packages-editor.element.ts @@ -8,13 +8,11 @@ export class UmbPackagesEditor extends LitElement { render() { return html` - - - -

Packages

-
-
-
+ + +

Packages

+
+
`; } diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section-layout.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section-layout.element.ts deleted file mode 100644 index 116fb2bf94..0000000000 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section-layout.element.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; -import { css, html, LitElement } from 'lit'; -import { customElement } from 'lit/decorators.js'; - -@customElement('umb-section-layout') -export class UmbSectionLayout extends LitElement { - static styles = [ - UUITextStyles, - css` - :host { - display: flex; - width: 100%; - height: 100%; - } - `, - ]; - - render() { - return html``; - } -} - -declare global { - interface HTMLElementTagNameMap { - 'umb-section-layout': UmbSectionLayout; - } -} diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts index 2a9f3d3c7e..5c1b85e107 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts @@ -193,19 +193,17 @@ export class UmbSectionElement extends UmbContextConsumerMixin(LitElement) { render() { return html` - - ${this._trees.length > 0 - ? html` - - - - ` - : nothing} - - ${this._views.length > 0 ? html`` : nothing} - - - + ${this._trees.length > 0 + ? html` + + + + ` + : nothing} + + ${this._views.length > 0 ? html`` : nothing} + + `; } }