Skip to content

Commit 995d63a

Browse files
Improve "important traits" popup display on mobile
1 parent 05630b0 commit 995d63a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+5
Original file line numberDiff line numberDiff line change
@@ -1511,6 +1511,11 @@ h4 > .important-traits {
15111511
#main > .line-numbers {
15121512
margin-top: 0;
15131513
}
1514+
1515+
.important-traits .important-traits-tooltiptext {
1516+
left: 0;
1517+
top: 100%;
1518+
}
15141519
}
15151520

15161521
@media print {

0 commit comments

Comments
 (0)