mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 05:06:38 +00:00
Update hui-dialog-edit-view.ts
This commit is contained in:
parent
3c1da399ac
commit
0a0474e7dc
@ -292,7 +292,8 @@ export class HuiDialogEditView extends LitElement {
|
|||||||
${this._params.viewIndex !== undefined
|
${this._params.viewIndex !== undefined
|
||||||
? html`
|
? html`
|
||||||
<ha-button
|
<ha-button
|
||||||
class="warning"
|
variant="danger"
|
||||||
|
appearance="plain"
|
||||||
slot="secondaryAction"
|
slot="secondaryAction"
|
||||||
@click=${this._deleteConfirm}
|
@click=${this._deleteConfirm}
|
||||||
>
|
>
|
||||||
@ -650,7 +651,7 @@ export class HuiDialogEditView extends LitElement {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
ha-button.warning {
|
ha-button[slot="secondaryAction"] {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-inline-end: auto;
|
margin-inline-end: auto;
|
||||||
margin-inline-start: initial;
|
margin-inline-start: initial;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user