Skip to content

Commit f268c7b

Browse files
authored
Rollup merge of #107266 - kadiwa4:source_viewer_scrollbar, r=notriddle
rustdoc: prohibit scroll bar on source viewer in Safari Fixes #106455.
2 parents c2f46df + 11a94f2 commit f268c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ ul.block, .block li {
533533
.rustdoc .example-wrap > pre {
534534
margin: 0;
535535
flex-grow: 1;
536-
overflow-x: auto;
536+
overflow: auto hidden;
537537
}
538538

539539
.rustdoc .example-wrap > pre.example-line-numbers,

0 commit comments

Comments
 (0)