From 4bc75449588c05cab22cdf07f9bb15f8c195d052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 12 Apr 2023 11:48:42 +0200 Subject: [PATCH] move styles --- .../document-workspace-split-view.element.ts | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace-split-view.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace-split-view.element.ts index 936b5c7783..1f32d29b73 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace-split-view.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace-split-view.element.ts @@ -10,30 +10,6 @@ import { UMB_ENTITY_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/context-ap @customElement('umb-document-workspace-split-view') export class UmbDocumentWorkspaceSplitViewElement extends UmbLitElement { - static styles = [ - UUITextStyles, - css` - :host { - width: 100%; - height: 100%; - - display: flex; - flex: 1; - flex-direction: column; - } - - #splitViews { - display: flex; - width: 100%; - height: calc(100% - var(--umb-footer-layout-height)); - } - - #breadcrumbs { - margin: 0 var(--uui-size-layout-1); - } - `, - ]; - private _workspaceContext?: UmbDocumentWorkspaceContext; @state() @@ -82,6 +58,30 @@ export class UmbDocumentWorkspaceSplitViewElement extends UmbLitElement { ` : nothing; } + + static styles = [ + UUITextStyles, + css` + :host { + width: 100%; + height: 100%; + + display: flex; + flex: 1; + flex-direction: column; + } + + #splitViews { + display: flex; + width: 100%; + height: calc(100% - var(--umb-footer-layout-height)); + } + + #breadcrumbs { + margin: 0 var(--uui-size-layout-1); + } + `, + ]; } export default UmbDocumentWorkspaceSplitViewElement;