web/elements: fix height when using PageHeader with Image

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-11 19:38:24 +02:00
parent 430e3c576c
commit 4147fbb839
2 changed files with 5 additions and 11 deletions

View File

@ -48,6 +48,9 @@ export class PageHeader extends LitElement {
.pf-c-page__main-section {
width: 100%;
}
img.pf-icon {
max-height: 24px;
}
`];
}

View File

@ -1,5 +1,5 @@
import { t } from "@lingui/macro";
import { css, CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import "../../elements/Tabs";
import "../../elements/charts/ApplicationAuthorizeChart";
@ -36,16 +36,7 @@ export class ApplicationViewPage extends LitElement {
application!: Application;
static get styles(): CSSResult[] {
return [PFBase, PFPage, PFContent, PFButton, PFGallery, PFCard, AKGlobal].concat(
css`
img.pf-icon {
max-height: 24px;
}
ak-tabs {
height: 100%;
}
`
);
return [PFBase, PFPage, PFContent, PFButton, PFGallery, PFCard, AKGlobal];
}
render(): TemplateResult {