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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user