From 528af0157dba0923a88eae7d06a4ab63c836edde Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Sun, 30 May 2021 16:06:22 +0200 Subject: [PATCH] Move entity attribution out of attribute expansion panel (#9296) --- src/components/ha-attributes.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/ha-attributes.ts b/src/components/ha-attributes.ts index 5c75269a0b..8168043eb8 100644 --- a/src/components/ha-attributes.ts +++ b/src/components/ha-attributes.ts @@ -54,17 +54,17 @@ class HaAttributes extends LitElement { ` )} - ${this.stateObj.attributes.attribution - ? html` -
- ${this.stateObj.attributes.attribution} -
- ` - : ""} ` : ""} + ${this.stateObj.attributes.attribution + ? html` +
+ ${this.stateObj.attributes.attribution} +
+ ` + : ""} `; } @@ -91,6 +91,7 @@ class HaAttributes extends LitElement { .attribution { color: var(--secondary-text-color); text-align: center; + margin-top: 16px; } pre { font-family: inherit;