Skip to content

Commit

Permalink
Rollup merge of #74218 - GuillaumeGomez:search-results-bottom-margin,…
Browse files Browse the repository at this point in the history
… r=Dylan-DPC

Add margin after doc search results

I found it not really on computer that the last result is right at the bottom of the page. I find it better with margin below (especially when you hover the last element!). A screenshot to show the result:

![Screenshot from 2020-07-10 16-32-23](https://user-images.githubusercontent.com/3050060/87166097-6103a580-c2cb-11ea-81a8-12772cf20f64.png)

r? @kinnison
cc @rust-lang/rustdoc @Manishearth @jyn514
  • Loading branch information
Manishearth authored Jul 15, 2020
2 parents efad203 + 2ca24b6 commit 0d07db9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ nav.sub {
#results > table {
width: 100%;
table-layout: fixed;
margin-bottom: 40px;
}

.content pre.line-numbers {
Expand Down

0 comments on commit 0d07db9

Please sign in to comment.