mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix layout of domain toggler dialog (#6771)
This commit is contained in:
parent
8e506f7749
commit
57763ef032
@ -10,8 +10,8 @@ import {
|
||||
} from "lit-element";
|
||||
import { fireEvent } from "../../common/dom/fire_event";
|
||||
import { createCloseHeading } from "../../components/ha-dialog";
|
||||
import "../../components/ha-switch";
|
||||
import "../../components/ha-formfield";
|
||||
import "../../components/ha-switch";
|
||||
import { domainToName } from "../../data/integration";
|
||||
import { haStyleDialog } from "../../resources/styles";
|
||||
import { HomeAssistant } from "../../types";
|
||||
@ -68,7 +68,9 @@ class DomainTogglerDialog extends LitElement implements HassDialog {
|
||||
</ha-switch>
|
||||
</ha-formfield>
|
||||
<mwc-button .domain=${domain[1]} @click=${this._handleReset}>
|
||||
${this.hass.localize("ui.dialogs.domain_toggler.reset_entities")}
|
||||
${this.hass.localize(
|
||||
"ui.dialogs.domain_toggler.reset_entities"
|
||||
)}
|
||||
</mwc-button>
|
||||
`
|
||||
)}
|
||||
@ -96,7 +98,8 @@ class DomainTogglerDialog extends LitElement implements HassDialog {
|
||||
}
|
||||
div {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto;
|
||||
grid-template-columns: auto auto;
|
||||
grid-row-gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user