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 +}