Skip to content

Commit

Permalink
Improve "important traits" popup display on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 20, 2020
1 parent 05630b0 commit 995d63a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,11 @@ h4 > .important-traits {
#main > .line-numbers {
margin-top: 0;
}

.important-traits .important-traits-tooltiptext {
left: 0;
top: 100%;
}
}

@media print {
Expand Down

0 comments on commit 995d63a

Please sign in to comment.