about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-05-23 22:28:19 -0700
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-05-23 22:28:19 -0700
commitc1c6175e62189f8f0e6479bff7bac0e59a95a406 (patch)
tree2c2519f15dca09f1d2155c5d874a089ad1ca812c
parent9f69e2f8b27656a8149609196d4bc561203b5ad6 (diff)
downloadrust-c1c6175e62189f8f0e6479bff7bac0e59a95a406.tar.gz
rust-c1c6175e62189f8f0e6479bff7bac0e59a95a406.zip
Restore sans-serif font for module items.
This was broke in #84462 by modifying a style that applied both to
searches and to module items (and other tables).
-rw-r--r--src/librustdoc/html/static/rustdoc.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 9c5e3e8bfb2..32d76952383 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -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,