diff --git a/src/style/_layout.scss b/src/style/_layout.scss index 5c194dde893..2192712e47e 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; } } }