web/elements: fix height when using PageHeader with Image
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
ca51afb7df
commit
1be1654bf2
|
@ -48,6 +48,9 @@ export class PageHeader extends LitElement {
|
|||
.pf-c-page__main-section {
|
||||
width: 100%;
|
||||
}
|
||||
img.pf-icon {
|
||||
max-height: 24px;
|
||||
}
|
||||
`];
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Reference in New Issue