Skip to content

Commit 94c8618

Browse files
Rollup merge of #45502 - GuillaumeGomez:show-src-on-mobile, r=QuietMisdreavus
Show src button and function version on mobile version Fixes #45498. <img width="1440" alt="screen shot 2017-10-24 at 22 36 09" src="https://user-images.githubusercontent.com/3050060/31966689-c0070404-b90b-11e7-8810-810fa0491eda.png"> r? @rust-lang/docs
2 parents a95d97a + deef11d commit 94c8618

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -820,8 +820,8 @@ span.since {
820820
width: 100%;
821821
}
822822

823-
.content .out-of-band {
824-
display: none;
823+
.content h4 > .out-of-band {
824+
position: inherit;
825825
}
826826

827827
.toggle-wrapper > .collapse-toggle {
@@ -835,6 +835,10 @@ span.since {
835835
#search {
836836
margin-left: 0;
837837
}
838+
839+
.content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant {
840+
display: flex;
841+
}
838842
}
839843

840844
@media print {

0 commit comments

Comments
 (0)