Skip to content

Commit

Permalink
rustdoc: Fix broken CSS in search results
Browse files Browse the repository at this point in the history
The layout is currently broken for struct/union fields and enum variants
in the search results when searching from a struct, union or enum page.
  • Loading branch information
ollie27 committed Aug 9, 2017
1 parent 3f977ba commit e5261c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ span.since {
margin-bottom: 25px;
}

.enum .variant, .struct .structfield, .union .structfield {
#main > .variant, #main > .structfield {
display: block;
}

Expand Down

0 comments on commit e5261c0

Please sign in to comment.