web: fix more height issues and sidebar not correctly activating

This commit is contained in:
Jens Langhammer
2021-03-01 10:32:25 +01:00
parent f2eaa9052e
commit 9c33f4858f
6 changed files with 31 additions and 11 deletions

View File

@ -1,4 +1,4 @@
import { LitElement, html, customElement, property, CSSResult, TemplateResult } from "lit-element";
import { LitElement, html, customElement, property, CSSResult, TemplateResult, css } from "lit-element";
import { ifDefined } from "lit-html/directives/if-defined";
// @ts-ignore
import TabsStyle from "@patternfly/patternfly/components/Tabs/tabs.css";
@ -13,7 +13,11 @@ export class Tabs extends LitElement {
currentPage?: string;
static get styles(): CSSResult[] {
return [GlobalsStyle, TabsStyle];
return [GlobalsStyle, TabsStyle, css`
::slotted(*) {
height: 100%;
}
`];
}
renderTab(page: Element): TemplateResult {