Skip to content

Commit

Permalink
Rollup merge of rust-lang#103462 - notriddle:notriddle/source-pre-rus…
Browse files Browse the repository at this point in the history
…t-white-space, r=Dylan-DPC

rustdoc: remove no-op CSS `.source pre.rust { white-space: pre }`

This rule, added in 49e6db7, overrode a rule in normalize.css.

https://github.com/rust-lang/rust/blob/49e6db7f3510a99ab3d3723b2430add985629c39/src/librustdoc/html/static/normalize.css#L169-L175

When normalize.css was updated, this rule went away.

necolas/normalize.css@a8edd0c
  • Loading branch information
Yuki Okushi authored Oct 24, 2022
2 parents b66e5eb + 45a9d18 commit 42e697f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,6 @@ ul.block, .block li {
}

.source .content pre.rust {
white-space: pre;
overflow: auto;
padding-left: 0;
}
Expand Down

0 comments on commit 42e697f

Please sign in to comment.