no-header-background

This commit is contained in:
Niels Lyngsø
2022-12-22 09:28:23 +01:00
parent 3ece756c5a
commit bd48d3ceff
2 changed files with 4 additions and 2 deletions

View File

@@ -22,9 +22,11 @@ export class UmbBodyLayout extends LitElement {
width: 100%;
min-height: 60px;
box-sizing: border-box;
}
:host(:not([no-header-background])) #header {
background-color: var(--uui-color-surface);
border-bottom: 1px solid var(--uui-color-border);
box-sizing: border-box;
}
#headline {

View File

@@ -95,7 +95,7 @@ export class UmbCollectionViewMediaElement extends UmbContextConsumerMixin(UmbOb
render() {
return html`
<umb-body-layout>
<umb-body-layout no-header-background>
<umb-collection-toolbar slot="header"></umb-collection-toolbar>
<router-slot id="router-slot" .routes="${this._routes}"></router-slot>
${this._selection.length > 0