web: fix source pages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-17 19:00:57 +01:00
parent bf32cf3265
commit d2bbf2965d
11 changed files with 38 additions and 30 deletions

View File

@ -19,14 +19,14 @@ export class EmptyState extends LitElement {
fullHeight = false;
@property()
header: string = "";
header = "";
static get styles(): CSSResult[] {
return [PFBase, PFEmptyState, PFTitle, AKGlobal];
}
render(): TemplateResult {
return html`<div class="pf-c-empty-state ${this.fullHeight && 'pf-m-full-height'}">
return html`<div class="pf-c-empty-state ${this.fullHeight && "pf-m-full-height"}">
<div class="pf-c-empty-state__content">
${this.loading ?
html`<div class="pf-c-empty-state__icon">