Changed button to text (#4067)

* Changed button to text

* Moved styles to hui-edit-view

* prettier updates
This commit is contained in:
Drake Loud 2019-10-21 14:32:15 -07:00 committed by Bram Kragten
parent 2424376fba
commit 0621218e16
1 changed files with 5 additions and 6 deletions

View File

@ -133,12 +133,11 @@ export class HuiEditView extends LitElement {
<div class="paper-dialog-buttons">
${this.viewIndex !== undefined
? html`
<paper-icon-button
class="delete"
title="Delete"
icon="hass:delete"
@click="${this._delete}"
></paper-icon-button>
<mwc-button class="delete" @click="${this._delete}">
${this.hass!.localize(
"ui.panel.lovelace.editor.edit_view.delete"
)}
</mwc-button>
`
: ""}
<mwc-button @click="${this._closeDialog}"