Skip to content

Commit

Permalink
Rollup merge of rust-lang#107266 - kadiwa4:source_viewer_scrollbar, r…
Browse files Browse the repository at this point in the history
…=notriddle

rustdoc: prohibit scroll bar on source viewer in Safari

Fixes rust-lang#106455.
  • Loading branch information
matthiaskrgr authored Jan 25, 2023
2 parents 1deaa69 + 11a94f2 commit 2c432b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ ul.block, .block li {
.rustdoc .example-wrap > pre {
margin: 0;
flex-grow: 1;
overflow-x: auto;
overflow: auto hidden;
}

.rustdoc .example-wrap > pre.example-line-numbers,
Expand Down

0 comments on commit 2c432b6

Please sign in to comment.