File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/panels/config/automation Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ export class HaChooseAction extends LitElement implements ActionElement {
5151
5252 ${ this . _showDefault || action . default
5353 ? html `
54- <h2 >
54+ <h4 >
5555 ${ this . hass . localize (
5656 "ui.panel.config.automation.editor.actions.type.choose.default"
5757 ) } :
58- </ h2 >
58+ </ h4 >
5959 <ha- auto mation- action
6060 .actions = ${ ensureArray ( action . default ) || [ ] }
6161 .disabled = ${ this . disabled }
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ export default class HaAutomationOptionRow extends LitElement {
203203 hidden : this . _collapsed ,
204204 } ) }
205205 >
206- <h4>
206+ <h4 class = "conditions" >
207207 ${ this . hass . localize (
208208 "ui.panel.config.automation.editor.actions.type.choose.conditions"
209209 ) } :
@@ -216,7 +216,7 @@ export default class HaAutomationOptionRow extends LitElement {
216216 @value-changed = ${ this . _conditionChanged }
217217 .optionsInSidebar = ${ this . optionsInSidebar }
218218 > </ ha- auto mation- condition>
219- <h4>
219+ <h4 class = "actions" >
220220 ${ this . hass . localize (
221221 "ui.panel.config.automation.editor.actions.type.choose.sequence"
222222 ) } :
@@ -414,6 +414,13 @@ export default class HaAutomationOptionRow extends LitElement {
414414 li [role = "separator" ] {
415415 border-bottom-color : var (--divider-color );
416416 }
417+ h4 .conditions {
418+ margin-top : 0 ;
419+ margin-bottom : 8px ;
420+ }
421+ h4 .actions {
422+ margin-bottom : 8px ;
423+ }
417424 ` ,
418425 ] ;
419426 }
You can’t perform that action at this time.
0 commit comments