Make modal of Lovelace editor dialogs (#4426)

Fixes #4425
This commit is contained in:
Bram Kragten 2020-01-06 22:25:17 +01:00 committed by GitHub
parent 35d9b2ac3c
commit 2ed6d0e73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ export class HuiDialogEditLovelace extends LitElement {
protected render(): TemplateResult | void { protected render(): TemplateResult | void {
return html` return html`
<ha-paper-dialog with-backdrop> <ha-paper-dialog with-backdrop modal>
<h2> <h2>
${this.hass!.localize( ${this.hass!.localize(
"ui.panel.lovelace.editor.edit_lovelace.header" "ui.panel.lovelace.editor.edit_lovelace.header"

View File

@ -129,7 +129,7 @@ export class HuiEditView extends LitElement {
break; break;
} }
return html` return html`
<ha-paper-dialog with-backdrop> <ha-paper-dialog with-backdrop modal>
<h2> <h2>
${this._viewConfigTitle} ${this._viewConfigTitle}
</h2> </h2>