Fix an x overflow with long inline code
Spotted on https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html
This commit is contained in:
parent
0ec4b692f4
commit
fde88c22a8
|
@ -26,6 +26,11 @@ code {
|
|||
font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
|
||||
}
|
||||
|
||||
/* make long inline code not x overflow */
|
||||
:not(pre) > code {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
/* Don't change font size in headers. */
|
||||
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
|
||||
font-size: unset;
|
||||
|
|
Loading…
Reference in New Issue