Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions src/dialogs/quick-bar/ha-quick-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,14 +182,15 @@ export class QuickBar extends LitElement {
.twoline=${Boolean(item.altText)}
.item=${item}
index=${ifDefined(index)}
hasMeta
graphic=${item.altText ? "avatar" : "icon"}
graphic="avatar"
>
<ha-icon .icon=${item.icon} slot="graphic"></ha-icon>
<span>${item.text}</span>
<span class="item-text">${item.text}</span>
${item.altText
? html`
<span slot="secondary" class="secondary">${item.altText}</span>
<span slot="secondary" class="item-text secondary"
>${item.altText}</span
>
`
: null}
</mwc-list-item>
Expand Down Expand Up @@ -387,6 +388,14 @@ export class QuickBar extends LitElement {
}
}

ha-icon {
margin-left: 8px;
}

ha-svg-icon {
color: var(--primary-text-color);
}

ha-svg-icon.prefix {
margin: 8px;
}
Expand All @@ -406,6 +415,10 @@ export class QuickBar extends LitElement {
mwc-list-item {
width: 100%;
}

.item-text {
margin-left: 16px;
}
`,
];
}
Expand Down
4 changes: 2 additions & 2 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1004,8 +1004,8 @@
"ping": "Reload ping binary sensor entities",
"filesize": "Reload file size entities",
"telegram": "Reload telegram notify services",
"smtp": "Reload smtp notify services",
"mqtt": "Reload manually configured mqtt entities",
"smtp": "Reload SMTP notify services",
"mqtt": "Reload manually configured MQTT entities",
"rpi_gpio": "Reload Raspberry Pi GPIO entities"
},
"server_management": {
Expand Down