diff --git a/src/components/ha-attributes.ts b/src/components/ha-attributes.ts index 892148e664..7f3966bc26 100644 --- a/src/components/ha-attributes.ts +++ b/src/components/ha-attributes.ts @@ -63,13 +63,14 @@ class HaAttributes extends LitElement { .data-entry .value { max-width: 200px; overflow-wrap: break-word; + text-align: right; } .key:first-letter { text-transform: capitalize; } .attribution { color: var(--secondary-text-color); - text-align: right; + text-align: center; } pre { font-family: inherit;