mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Rollup merge of #74555 - GuillaumeGomez:important-traits-popup, r=Manishearth
Improve "important traits" popup display on mobile I implemented what @XAMPPRocky suggested in the [internals thread topic](https://internals.rust-lang.org/t/feedback-on-important-traits-rustdoc-feature/12752/18). I can confirm it works nicely. r? @Manishearth @Manishearth: By the way: I realized that when you click on the "i", you have to click again to make the popup disappear. Do you want me to extend the popup removal to any click outside the popup?
This commit is contained in:
commit
963b837a83
@ -1511,6 +1511,11 @@ h4 > .important-traits {
|
||||
#main > .line-numbers {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.important-traits .important-traits-tooltiptext {
|
||||
left: 0;
|
||||
top: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
Loading…
Reference in New Issue
Block a user