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