From 54f6d92dc4ec07ac8d77ee2c8007d599cc665032 Mon Sep 17 00:00:00 2001 From: Francesco Franchina Date: Mon, 12 Oct 2020 00:50:25 +0200 Subject: [PATCH] fix(style): preventing long strings from overflowing (#5934) --- src/style/_markdown.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/style/_markdown.scss b/src/style/_markdown.scss index f53a15dba3c..2675f58dbf2 100644 --- a/src/style/_markdown.scss +++ b/src/style/_markdown.scss @@ -1,6 +1,9 @@ .markdown, .renderedMarkdown { p, pre { margin: 1em auto; + + word-break: break-all; /* Fallback trick */ + word-break: break-word; } pre { color: black; @@ -8,7 +11,6 @@ white-space: pre-wrap; background: none; padding: 0px; - overflow-wrap: break-word; } code {