diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/umb-backoffice.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/umb-backoffice.element.ts
index 4e720e41cc..bd9ad2bdc7 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/umb-backoffice.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/umb-backoffice.element.ts
@@ -12,7 +12,7 @@ export class UmbBackoffice extends LitElement {
:host {
display: flex;
flex-direction: column;
- min-height: 100%;
+ height: 100%;
width: 100%;
color: var(--uui-color-text);
font-size: 14px;
@@ -35,19 +35,19 @@ export class UmbBackoffice extends LitElement {
--uui-tab-text-hover: var(--uui-color-current-emphasis);
}
#main {
- width: 100%;
- height: calc(100% - 48px);
display: flex;
- box-sizing: border-box;
+ flex: 1;
+ overflow: hidden;
}
#nav-side-bar {
- width: 400px;
+ width: 300px;
background-color: var(--uui-color-surface);
height: 100%;
border-right: 1px solid var(--uui-color-border);
font-weight: 500;
display: flex;
flex-direction: column;
+ flex-shrink: 0;
}
#nav-side-bar b {
padding: var(--uui-size-6) var(--uui-size-8);
@@ -63,6 +63,7 @@ export class UmbBackoffice extends LitElement {
background-color: var(--uui-color-surface);
width: 100%;
display: flex;
+ flex: none;
gap: 16px;
align-items: center;
border-bottom: 1px solid var(--uui-color-border);
@@ -79,29 +80,11 @@ export class UmbBackoffice extends LitElement {
}
#editor-content {
padding: var(--uui-size-6);
- height: 100%;
display: flex;
+ flex: 1;
flex-direction: column;
gap: 16px;
}
- .editor-property {
- display: grid;
- grid-template-columns: 200px 600px;
- gap: 32px;
- }
- .editor-property uui-input,
- .editor-property uui-textarea {
- width: 100%;
- }
-
- uui-box hr {
- margin-bottom: var(--uui-size-6);
- }
-
- hr {
- border: 0;
- border-top: 1px solid var(--uui-color-border-alt);
- }
uui-tab {
font-size: 0.8rem;
@@ -109,6 +92,7 @@ export class UmbBackoffice extends LitElement {
#editor-bottom {
display: flex;
+ flex: none;
justify-content: end;
align-items: center;
height: 70px;
@@ -178,151 +162,7 @@ export class UmbBackoffice extends LitElement {
This is the main headline for the hero area on the Homepage Write something nice This is the main headline for the hero area on the Homepage This is the main headline for the hero area on the Homepage This will show some options
-
-
-
-
-
-
-