about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-10-24 22:34:59 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-10-24 22:34:59 +0200
commitdeef11dd26889cd8b37329cb1589d2abf89d5a04 (patch)
tree33943c56d2e5ff7cb6220c7607144c72e590d1d3 /src
parent61af75437d2c80934a601b6ee59f329928fb1e54 (diff)
downloadrust-deef11dd26889cd8b37329cb1589d2abf89d5a04.tar.gz
rust-deef11dd26889cd8b37329cb1589d2abf89d5a04.zip
Show src button and function version on mobile version
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/static/rustdoc.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 18270654aa9..1b98cd322e7 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -820,8 +820,8 @@ span.since {
 		width: 100%;
 	}
 
-	.content .out-of-band {
-		display: none;
+	.content h4 > .out-of-band {
+		position: inherit;
 	}
 
 	.toggle-wrapper > .collapse-toggle {
@@ -835,6 +835,10 @@ span.since {
 	#search {
 		margin-left: 0;
 	}
+
+	.content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant {
+		display: flex;
+	}
 }
 
 @media print {