Skip to content

Commit deef11d

Browse files
Show src button and function version on mobile version
1 parent 61af754 commit deef11d

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)