static: fix text being center when in pb-dropdown

This commit is contained in:
Jens Langhammer 2020-11-22 01:03:13 +01:00
parent 7dac6841fb
commit c455a9a6b6
3 changed files with 15 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import { customElement, html, LitElement, property } from "lit-element";
import { css, customElement, html, LitElement, property } from "lit-element";
// @ts-ignore
import ModalBoxStyle from "@patternfly/patternfly/components/ModalBox/modal-box.css";
// @ts-ignore
@ -22,7 +22,18 @@ export class ModalButton extends LitElement {
open: boolean = false;
static get styles() {
return [ModalBoxStyle, BullseyeStyle, BackdropStyle, ButtonStyle, fa];
return [
css`
:host {
text-align: left;
}
`,
ModalBoxStyle,
BullseyeStyle,
BackdropStyle,
ButtonStyle,
fa,
];
}
constructor() {