Skip to content

Commit 16b1a6f

Browse files
Rollup merge of #77979 - GuillaumeGomez:hide-help-button, r=jyn514
Hide help button on mobile Addresses #77899. This PR is just a quick fix for now: we're still debating about whether or not we want to display this help popup and if so, how. I'll open an issue once this PR is merged to discuss about it. Before: ![Screenshot from 2020-10-15 17-56-39](https://user-images.githubusercontent.com/3050060/96155127-df499680-0f0f-11eb-8a13-77c537141f21.png) After: ![Screenshot from 2020-10-15 17-55-06](https://user-images.githubusercontent.com/3050060/96154957-ac070780-0f0f-11eb-9d90-7d8f79a6bf37.png) r? @jyn514
2 parents 313de68 + fce04fe commit 16b1a6f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+8
Original file line numberDiff line numberDiff line change
@@ -1540,6 +1540,14 @@ h4 > .notable-traits {
15401540
left: 0;
15411541
top: 100%;
15421542
}
1543+
1544+
/* We don't display the help button on mobile devices. */
1545+
.help-button {
1546+
display: none;
1547+
}
1548+
.search-container > div {
1549+
width: calc(100% - 32px);
1550+
}
15431551
}
15441552

15451553
@media print {

0 commit comments

Comments
 (0)