From 7087210adbbb5f0fa48a69f825f1ea701b72542c Mon Sep 17 00:00:00 2001 From: Mahtis Michel Date: Thu, 14 Jan 2021 19:11:03 +0100 Subject: [PATCH] fix(style): code should should wrap line (#6831) * fix(style): code should should wrap line this time in correct place * revert(#6764): reverted wrongly placed css --- src/style/_layout.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/style/_layout.scss b/src/style/_layout.scss index 5c194dde..2192712e 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 { @@ -911,8 +916,7 @@ a.nostyle { code { background-color: #dedede; padding: 4px 4px 2px; - white-space: pre-wrap; - word-break: break-all; + white-space: pre; } } }