Skip to content

Commit 00a704f

Browse files
Rollup merge of #86040 - GuillaumeGomez:search-result-display-height, r=jsha
Fix display for search results This fixes unwanted margin and font-weight coming from `.method`. Before: ![Screenshot from 2021-06-05 23-03-34](https://user-images.githubusercontent.com/3050060/120905486-9e46f380-c652-11eb-8008-6db6e0517ba3.png) after: ![Screenshot from 2021-06-05 23-05-02](https://user-images.githubusercontent.com/3050060/120905489-9edf8a00-c652-11eb-817d-f676f6ab7303.png) r? ``@jsha``
2 parents 1bef90f + c01bd56 commit 00a704f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+2
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,8 @@ a {
800800

801801
.search-results .result-name > span {
802802
display: inline-block;
803+
margin: 0;
804+
font-weight: normal;
803805
}
804806

805807
body.blur > :not(#help) {

0 commit comments

Comments
 (0)