From c8beb1142a70d86098da0fa04f48674641c8a8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 2 Jun 2022 17:09:47 +0200 Subject: [PATCH] undefined --- src/Umbraco.Web.UI.Client/src/app.ts | 6 +++--- .../src/backoffice/backoffice.element.ts | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/app.ts b/src/Umbraco.Web.UI.Client/src/app.ts index 64b7e31ac2..ac85486b9d 100644 --- a/src/Umbraco.Web.UI.Client/src/app.ts +++ b/src/Umbraco.Web.UI.Client/src/app.ts @@ -9,9 +9,9 @@ import { getInitStatus } from './core/api/fetcher'; import { UmbContextProviderMixin } from './core/context'; // Load these in the correct components -import './editor/editor-layout.element'; -import './editor/editor-property-layout.element'; -import './editor/node-editor/node-property.element'; +import './editors/editor-layout.element'; +import './editors/editor-property-layout.element'; +import './editors/node-editor/node-property.element'; const routes = [ { 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 1acb4d5b3f..a3fc72ccbc 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/backoffice.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/backoffice.element.ts @@ -35,14 +35,14 @@ export default class UmbBackoffice extends UmbContextProviderMixin(LitElement) { top:0; left:0; right:0; - height: 100vh; + bottom: 70px; + height:auto; padding: var(--uui-size-layout-1); } `, ]; private _notificationService: UmbNotificationService = new UmbNotificationService(); - private _notificationContainer: UUIToastNotificationContainerElement; private _notificationSubscribtion: Subscription; @state() @@ -63,8 +63,6 @@ export default class UmbBackoffice extends UmbContextProviderMixin(LitElement) { ): void { super.firstUpdated(_changedProperties); - this._notificationContainer = this.shadowRoot?.querySelector('uui-toast-notification-container') as UUIToastNotificationContainerElement; - this._notificationSubscribtion = this._notificationService.notifications .subscribe((notifications: Array) => { this._notifications = notifications;