Install header + text align (#114)

This commit is contained in:
Paulus Schoutsen 2021-11-11 16:36:36 -08:00 committed by GitHub
parent 66540245c9
commit a8dc857f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -390,7 +390,9 @@ class EwtInstallDialog extends LitElement {
}
_renderInstall(): [string | undefined, TemplateResult, boolean, boolean] {
let heading: string | undefined = `Install ${this._manifest!.name}`;
let heading: string | undefined = `${
this._installConfirmed ? "Installing" : "Install"
} ${this._manifest!.name}`;
let content: TemplateResult;
let hideActions = false;
let allowClosing = false;
@ -731,6 +733,7 @@ class EwtInstallDialog extends LitElement {
--mdc-dialog-max-width: 390px;
--mdc-theme-primary: var(--improv-primary-color, #03a9f4);
--mdc-theme-on-primary: var(--improv-on-primary-color, #fff);
text-align: left;
}
ewt-icon-button {
position: absolute;