Rollup merge of #56476 - GuillaumeGomez:invalid-line-number-match, r=QuietMisdreavus
Fix invalid line number match If a code line is longer than the width, it then gets to the next line making the line number not matching it anymore. r? @QuietMisdreavus
This commit is contained in:
commit
d07d299cba
@ -135,7 +135,6 @@ summary {
|
||||
|
||||
code, pre {
|
||||
font-family: "Source Code Pro", monospace;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.docblock code, .docblock-short code {
|
||||
border-radius: 3px;
|
||||
@ -303,6 +302,7 @@ nav.sub {
|
||||
|
||||
:not(.source) .example-wrap > pre.rust {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
body:not(.source) .example-wrap > pre {
|
||||
|
Loading…
Reference in New Issue
Block a user