Skip to content

Commit

Permalink
[CSS] Fix unwanted top margin for toggle wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 19, 2016
1 parent 8052f73 commit 4a2116b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,11 @@ span.since {
margin-right: 5px;
}

.enum > .toggle-wrapper > .collapse-toggle, .struct > .toggle-wrapper > .collapse-toggle {
.toggle-wrapper > .collapse-toggle {
left: 0;
}

.variant + .toggle-wrapper > a {
margin-top: 5px;
}

Expand Down

0 comments on commit 4a2116b

Please sign in to comment.