Skip to content

Commit

Permalink
Rollup merge of rust-lang#85621 - jsha:serif-in-table, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Restore sans-serif font for module items.

This was broke in rust-lang#84462 by modifying a style that applied both to
searches and to module items (and other tables).

Fixes rust-lang#85616.
Fixes rust-lang#85545.

r? `@camelid`
  • Loading branch information
GuillaumeGomez committed May 24, 2021
2 parents 30f4486 + c1c6175 commit 9d3b9cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ h4.type.trait-impl, h4.associatedconstant.trait-impl, h4.associatedtype.trait-im

h1, h2, h3, h4,
.sidebar, a.source, .search-input, .search-results .result-name,
.content table td:first-child > a,
div.item-list .out-of-band,
#source-sidebar, #sidebar-toggle,
details.rustdoc-toggle > summary::before,
Expand Down

0 comments on commit 9d3b9cd

Please sign in to comment.