Skip to content

Commit

Permalink
Only use Fira Sans for the first td in item lists
Browse files Browse the repository at this point in the history
Fixes an issue where links in the one-line version of an item's docs
would be in Fira Sans, while the rest would be in a serifed font.
  • Loading branch information
camelid committed Oct 4, 2020
1 parent bad9ad0 commit adfba2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ h3.impl, h3.method, h3.type {
}

h1, h2, h3, h4,
.sidebar, a.source, .search-input, .content table :not(code)>a,
.sidebar, a.source, .search-input, .content table td:first-child > a,
.collapse-toggle, div.item-list .out-of-band,
#source-sidebar, #sidebar-toggle {
font-family: "Fira Sans", sans-serif;
Expand Down

0 comments on commit adfba2b

Please sign in to comment.