move styles

This commit is contained in:
Niels Lyngsø
2023-04-12 11:48:42 +02:00
parent f58d5b7ca7
commit 4bc7544958

View File

@@ -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 {
</umb-workspace-footer-layout>`
: 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;