ha-dialog-automation-save: small improvements & fixes (#28561)

* explictly set line-height for "helper" element

* move "description" to bottom, css tweaks

* revert

* revert, make a helper persistent
This commit is contained in:
ildar170975 2026-01-10 11:40:10 +03:00 committed by GitHub
parent b403b8f09e
commit 010d87bd0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,7 @@ class DialogAutomationSave extends LitElement implements HassDialog {
`
: nothing}
${this._visibleOptionals.includes("description")
? html` <ha-textarea
? html`<ha-textarea
.label=${this.hass.localize(
"ui.panel.config.automation.editor.description.label"
)}
@ -168,6 +168,7 @@ class DialogAutomationSave extends LitElement implements HassDialog {
autogrow
.value=${this._newDescription}
.helper=${supportsMarkdownHelper(this.hass.localize)}
helperPersistent
@input=${this._valueChanged}
></ha-textarea>`
: nothing}
@ -570,7 +571,7 @@ ${dump(this._params.config)}
ha-category-picker,
ha-labels-picker,
ha-area-picker,
ha-chip-set {
ha-chip-set:has(> ha-assist-chip) {
margin-top: 16px;
}
ha-alert {