Move entity attribution out of attribute expansion panel (#9296)

This commit is contained in:
Philip Allgaier 2021-05-30 16:06:22 +02:00 committed by GitHub
parent 10a77b6278
commit 528af0157d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,17 +54,17 @@ class HaAttributes extends LitElement {
</div>
`
)}
${this.stateObj.attributes.attribution
? html`
<div class="attribution">
${this.stateObj.attributes.attribution}
</div>
`
: ""}
`
: ""}
</div>
</ha-expansion-panel>
${this.stateObj.attributes.attribution
? html`
<div class="attribution">
${this.stateObj.attributes.attribution}
</div>
`
: ""}
`;
}
@ -91,6 +91,7 @@ class HaAttributes extends LitElement {
.attribution {
color: var(--secondary-text-color);
text-align: center;
margin-top: 16px;
}
pre {
font-family: inherit;