static: fix text being center when in pb-dropdown
This commit is contained in:
parent
7dac6841fb
commit
c455a9a6b6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
import { customElement, html, LitElement, property } from "lit-element";
|
import { css, customElement, html, LitElement, property } from "lit-element";
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import ModalBoxStyle from "@patternfly/patternfly/components/ModalBox/modal-box.css";
|
import ModalBoxStyle from "@patternfly/patternfly/components/ModalBox/modal-box.css";
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -22,7 +22,18 @@ export class ModalButton extends LitElement {
|
||||||
open: boolean = false;
|
open: boolean = false;
|
||||||
|
|
||||||
static get styles() {
|
static get styles() {
|
||||||
return [ModalBoxStyle, BullseyeStyle, BackdropStyle, ButtonStyle, fa];
|
return [
|
||||||
|
css`
|
||||||
|
:host {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
`,
|
||||||
|
ModalBoxStyle,
|
||||||
|
BullseyeStyle,
|
||||||
|
BackdropStyle,
|
||||||
|
ButtonStyle,
|
||||||
|
fa,
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
Reference in New Issue