mirror of https://github.com/rust-lang/rust.git
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:
commit
f268c7b454
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue