Rollup merge of #107266 - kadiwa4:source_viewer_scrollbar, r=notriddle

rustdoc: prohibit scroll bar on source viewer in Safari

Fixes #106455.
This commit is contained in:
Matthias Krüger 2023-01-25 22:19:55 +01:00 committed by GitHub
commit f268c7b454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ ul.block, .block li {
.rustdoc .example-wrap > pre { .rustdoc .example-wrap > pre {
margin: 0; margin: 0;
flex-grow: 1; flex-grow: 1;
overflow-x: auto; overflow: auto hidden;
} }
.rustdoc .example-wrap > pre.example-line-numbers, .rustdoc .example-wrap > pre.example-line-numbers,