Skip to content

Commit 11a94f2

Browse files
committed
rustdoc: prevent scroll bar on source viewer
1 parent c8e6a9e commit 11a94f2

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)