mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Move entity attribution out of attribute expansion panel (#9296)
This commit is contained in:
parent
10a77b6278
commit
528af0157d
@ -54,17 +54,17 @@ class HaAttributes extends LitElement {
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
${this.stateObj.attributes.attribution
|
|
||||||
? html`
|
|
||||||
<div class="attribution">
|
|
||||||
${this.stateObj.attributes.attribution}
|
|
||||||
</div>
|
|
||||||
`
|
|
||||||
: ""}
|
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
</div>
|
</div>
|
||||||
</ha-expansion-panel>
|
</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 {
|
.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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user