Fix typo & layout in ha-assist-chip (#23785)

* fix typo fot slot name

* make font-size same as for label

* remove unneeded margin-top
This commit is contained in:
ildar170975 2025-01-28 17:04:12 +03:00 committed by GitHub
parent 85e4975206
commit 89e9316a40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,10 @@ export class HaAssistChip extends MdAssistChip {
}
/** Set the size of mdc icons **/
::slotted([slot="icon"]),
::slotted([slot="trailingIcon"]) {
::slotted([slot="trailing-icon"]) {
display: flex;
--mdc-icon-size: var(--md-input-chip-icon-size, 18px);
font-size: var(--_label-text-size) !important;
}
.trailing.icon ::slotted(*),

View File

@ -92,7 +92,6 @@ export class HuiButtonsBase extends LitElement {
color: var(--secondary-text-color);
align-items: center;
justify-content: center;
margin-top: -2px;
}
@media all and (max-width: 450px), all and (max-height: 500px) {
.ha-scrollbar {