From 46436ea95109349eb6663d8512f66188659664aa Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Sat, 18 Jan 2025 06:59:51 +0300 Subject: [PATCH 1/3] fix typo fot slot name --- src/components/chips/ha-assist-chip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chips/ha-assist-chip.ts b/src/components/chips/ha-assist-chip.ts index 7f621f01fbb4..00940c840ad7 100644 --- a/src/components/chips/ha-assist-chip.ts +++ b/src/components/chips/ha-assist-chip.ts @@ -33,7 +33,7 @@ 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); } From 4c6bb5792fe900a38c98b8d127fc392c87303520 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Sat, 18 Jan 2025 07:00:45 +0300 Subject: [PATCH 2/3] make font-size same as for label --- src/components/chips/ha-assist-chip.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/chips/ha-assist-chip.ts b/src/components/chips/ha-assist-chip.ts index 00940c840ad7..879a88569c81 100644 --- a/src/components/chips/ha-assist-chip.ts +++ b/src/components/chips/ha-assist-chip.ts @@ -36,6 +36,7 @@ export class HaAssistChip extends MdAssistChip { ::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(*), From 470261285131b65008ff15eb71efb053849a78d7 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Sat, 18 Jan 2025 07:02:16 +0300 Subject: [PATCH 3/3] remove unneeded margin-top --- src/panels/lovelace/components/hui-buttons-base.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/panels/lovelace/components/hui-buttons-base.ts b/src/panels/lovelace/components/hui-buttons-base.ts index 07938daf3687..202f8a1949db 100644 --- a/src/panels/lovelace/components/hui-buttons-base.ts +++ b/src/panels/lovelace/components/hui-buttons-base.ts @@ -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 {