static: fix text being center when in pb-dropdown
This commit is contained in:
parent
7dac6841fb
commit
c455a9a6b6
2
passbook/static/static/dist/main.js
vendored
2
passbook/static/static/dist/main.js
vendored
File diff suppressed because one or more lines are too long
2
passbook/static/static/dist/main.js.map
vendored
2
passbook/static/static/dist/main.js.map
vendored
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
|
||||
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() {
|
||||
|
|
Reference in a new issue