From b9259b87ebe61168afbd397129f48042b0d3fb93 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Wed, 6 Jan 2021 20:46:39 +0100 Subject: [PATCH] Beautify ha-attribute `
` (#8101)

---
 src/components/ha-attributes.ts | 3 +++
 1 file changed, 3 insertions(+)

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;
       }
     `;
   }