From 352e721d0c39ba813af2fed9d0a9f71fc716d317 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:11:29 +0300 Subject: [PATCH] Update state-badge.ts: change border-radius for media_player (#18066) --- src/components/entity/state-badge.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/entity/state-badge.ts b/src/components/entity/state-badge.ts index a9c1afd35c..7e19d97e48 100644 --- a/src/components/entity/state-badge.ts +++ b/src/components/entity/state-badge.ts @@ -140,6 +140,9 @@ export class StateBadge extends LitElement { if (domain === "update") { hostStyle.borderRadius = "0"; } + if (domain === "media_player") { + hostStyle.borderRadius = "8%"; + } } else if (this.color) { // Externally provided overriding color wins over state color iconStyle.color = this.color;