no-header-background
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user