web: load missing flow css files and adopt them

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-16 22:02:58 +01:00
parent 5f024eb1f7
commit 67629ce0b7
3 changed files with 11 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import { gettext } from "django";
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
import { COMMON_STYLES } from "../common/styles";
import PFExpandableSection from "../../node_modules/@patternfly/patternfly/components/ExpandableSection/expandable-section.css";
@customElement("ak-expand")
export class Expand extends LitElement {
@ -15,7 +15,7 @@ export class Expand extends LitElement {
textClosed = "Show more";
static get styles(): CSSResult[] {
return COMMON_STYLES;
return [PFExpandableSection];
}
render(): TemplateResult {