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