Skip to content

Commit

Permalink
Address feedback of automation editor
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten committed Dec 28, 2023
1 parent 5b11e0c commit 7f51be4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/ha-list-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export class HaListItem extends ListItemBase {
.mdc-deprecated-list-item__meta {
display: var(--mdc-list-item-meta-display);
align-items: center;
flex-shrink: 0;
}
:host([graphic="icon"]:not([twoline]))
.mdc-deprecated-list-item__graphic {
Expand Down
1 change: 1 addition & 0 deletions src/data/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const ACTION_GROUPS: AutomationElementGroup = {
icon: mdiDotsHorizontal,
members: {
event: {},
service: {},
},
},
} as const;
Expand Down
4 changes: 2 additions & 2 deletions src/panels/config/automation/add-automation-element-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ class DialogAddAutomationElement extends LitElement implements HassDialog {
itemRoles="option"
rootTabbable
style=${styleMap({
width: `${this._width}px`,
height: `${this._height}px`,
width: this._width ? `${this._width}px` : "auto",
height: this._height ? `${Math.min(468, this._height)}px` : "auto",
})}
>
${this._params.clipboardItem &&
Expand Down

0 comments on commit 7f51be4

Please sign in to comment.