Skip to content

Commit adfba2b

Browse files
committed
Only use Fira Sans for the first td in item lists
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.
1 parent bad9ad0 commit adfba2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ h3.impl, h3.method, h3.type {
120120
}
121121

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

0 commit comments

Comments
 (0)