mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Update state-badge.ts: change border-radius for media_player (#18066)
This commit is contained in:
parent
220b4794c5
commit
352e721d0c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user