From 914210c1a4b85ccc90f7e5aea12b941c1852dc93 Mon Sep 17 00:00:00 2001 From: mathis-m Date: Wed, 13 Jan 2021 16:57:24 +0100 Subject: [PATCH 1/2] fix(style): code should should wrap line this time in correct place --- src/style/_layout.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/style/_layout.scss b/src/style/_layout.scss index 5c194dde893..6c8891f2f34 100644 --- a/src/style/_layout.scss +++ b/src/style/_layout.scss @@ -668,6 +668,11 @@ overflow-y: auto; max-height: 400px; min-height: 6em; + + code { + white-space: pre-wrap !important; + word-break: break-all; + } } } .curl-command { From 528dca0499c6b13428f8399926e89747d4755646 Mon Sep 17 00:00:00 2001 From: mathis-m Date: Wed, 13 Jan 2021 19:04:03 +0100 Subject: [PATCH 2/2] revert(#6764): reverted wrongly placed css --- src/style/_layout.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/style/_layout.scss b/src/style/_layout.scss index 6c8891f2f34..2192712e47e 100644 --- a/src/style/_layout.scss +++ b/src/style/_layout.scss @@ -916,8 +916,7 @@ a.nostyle { code { background-color: #dedede; padding: 4px 4px 2px; - white-space: pre-wrap; - word-break: break-all; + white-space: pre; } } }