web: fix search field on tablepages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-17 18:00:26 +01:00
parent 83abc20300
commit fdbb9803b5

View file

@ -5,7 +5,7 @@ import PFButton from "@patternfly/patternfly/components/Button/button.css";
import PFToolbar from "@patternfly/patternfly/components/Toolbar/toolbar.css"; import PFToolbar from "@patternfly/patternfly/components/Toolbar/toolbar.css";
import PFInputGroup from "@patternfly/patternfly/components/InputGroup/input-group.css"; import PFInputGroup from "@patternfly/patternfly/components/InputGroup/input-group.css";
import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css";
import AKGlobal from "../../authentik.css";
@customElement("ak-table-search") @customElement("ak-table-search")
export class TableSearch extends LitElement { export class TableSearch extends LitElement {
@ -17,7 +17,7 @@ export class TableSearch extends LitElement {
onSearch?: (value: string) => void; onSearch?: (value: string) => void;
static get styles(): CSSResult[] { static get styles(): CSSResult[] {
return [PFBase, PFButton, PFToolbar, PFInputGroup, PFFormControl]; return [PFBase, PFButton, PFToolbar, PFInputGroup, PFFormControl, AKGlobal];
} }
render(): TemplateResult { render(): TemplateResult {