Make helper option button more user friendly (#12468)

This commit is contained in:
Philip Allgaier
2022-04-27 15:07:57 +02:00
committed by GitHub
parent 2cc6432a0f
commit 66adecdfc9
3 changed files with 29 additions and 18 deletions

View File

@@ -79,9 +79,11 @@ class HaInputSelectForm extends LitElement {
"ui.dialogs.helper_settings.generic.icon"
)}
></ha-icon-picker>
${this.hass!.localize(
"ui.dialogs.helper_settings.input_select.options"
)}:
<div class="header">
${this.hass!.localize(
"ui.dialogs.helper_settings.input_select.options"
)}:
</div>
${this._options.length
? this._options.map(
(option, index) => html`
@@ -206,6 +208,10 @@ class HaInputSelectForm extends LitElement {
#option_input {
margin-top: 8px;
}
.header {
margin-top: 8px;
margin-bottom: 8px;
}
`,
];
}