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;