diff --git a/src/components/ha-attributes.ts b/src/components/ha-attributes.ts index a851f4bc47..9eefbeb111 100644 --- a/src/components/ha-attributes.ts +++ b/src/components/ha-attributes.ts @@ -77,6 +77,9 @@ class HaAttributes extends LitElement { pre { font-family: inherit; font-size: inherit; + margin: 0px; + overflow-wrap: break-word; + white-space: pre-line; } `; }