fix padding when header-transparent and header-height-fit
This commit is contained in:
@@ -172,6 +172,14 @@ export class UmbBodyLayoutElement extends LitElement {
|
||||
box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
:host([main-no-padding]) #main {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:host([header-height-fit][header-transparent]) #header-slot {
|
||||
padding: var(--uui-size-layout-1);
|
||||
}
|
||||
|
||||
#header-slot,
|
||||
#tabs-slot,
|
||||
#action-menu-slot,
|
||||
@@ -179,6 +187,7 @@ export class UmbBodyLayoutElement extends LitElement {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#header-slot {
|
||||
@@ -203,9 +212,6 @@ export class UmbBodyLayoutElement extends LitElement {
|
||||
overflow-y: auto;
|
||||
padding: var(--uui-size-layout-1);
|
||||
}
|
||||
:host([main-no-padding]) #main {
|
||||
padding: 0;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -68,8 +68,6 @@ export class UmbLogViewerSearchViewElement extends UmbLitElement {
|
||||
flex-direction: column;
|
||||
gap: var(--uui-size-space-4);
|
||||
width: 100%;
|
||||
padding: var(--uui-size-layout-1);
|
||||
padding-bottom: var(--uui-size-layout-1);
|
||||
}
|
||||
|
||||
#levels-container,
|
||||
|
||||
Reference in New Issue
Block a user