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
This commit is contained in:
Mahtis Michel
2021-01-14 19:11:03 +01:00
committed by GitHub
parent 9568c901ca
commit 7087210adb

View File

@@ -668,6 +668,11 @@
overflow-y: auto; overflow-y: auto;
max-height: 400px; max-height: 400px;
min-height: 6em; min-height: 6em;
code {
white-space: pre-wrap !important;
word-break: break-all;
}
} }
} }
.curl-command { .curl-command {
@@ -911,8 +916,7 @@ a.nostyle {
code { code {
background-color: #dedede; background-color: #dedede;
padding: 4px 4px 2px; padding: 4px 4px 2px;
white-space: pre-wrap; white-space: pre;
word-break: break-all;
} }
} }
} }