mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 18:56:39 +00:00
Merge pull request #4129 from home-assistant/delete-view-btn
Fix styling delete view btn
This commit is contained in:
commit
75aa940d44
@ -146,7 +146,7 @@ export class HuiEditView extends LitElement {
|
|||||||
<div class="paper-dialog-buttons">
|
<div class="paper-dialog-buttons">
|
||||||
${this.viewIndex !== undefined
|
${this.viewIndex !== undefined
|
||||||
? html`
|
? html`
|
||||||
<mwc-button class="delete" @click="${this._deleteConfirm}">
|
<mwc-button class="warning" @click="${this._deleteConfirm}">
|
||||||
${this.hass!.localize(
|
${this.hass!.localize(
|
||||||
"ui.panel.lovelace.editor.edit_view.delete"
|
"ui.panel.lovelace.editor.edit_view.delete"
|
||||||
)}
|
)}
|
||||||
@ -303,9 +303,8 @@ export class HuiEditView extends LitElement {
|
|||||||
height: 14px;
|
height: 14px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
.delete {
|
mwc-button.warning {
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
--mdc-theme-primary: var(--secondary-text-color);
|
|
||||||
}
|
}
|
||||||
paper-spinner {
|
paper-spinner {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user