From 45b69f9ef93a04edf0b7085f6515eff26bc15dc0 Mon Sep 17 00:00:00 2001 From: Jon McDuffie Date: Sat, 2 Dec 2017 14:58:41 -0500 Subject: [PATCH] Small style chnage to fix search results Addresses the issues described in #46434 --- src/librustdoc/html/static/rustdoc.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 7efe7e1ae3eb3..66d769d2cd8a4 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -429,6 +429,10 @@ h4 > code, h3 > code, .invisible > code { font-size: 1em; position: relative; } + +.content .search-results .method { + position: static; +} /* Shift "where ..." part of method or fn definition down a line */ .content .method .where, .content .fn .where, @@ -1059,4 +1063,4 @@ h3.important { position: absolute; left: -42px; margin-top: 2px; -} \ No newline at end of file +}