about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2021-01-31 01:19:29 +0800
committerGitHub <noreply@github.com>2021-01-31 01:19:29 +0800
commitd3048eea3cd212f7d8eba54d016c98e12a969a07 (patch)
tree8dbe1ab5e4ed295af81ce206a6e861449d20823c
parent7ce1b3b24491cbe10669cbe2b5733c2fe7cfe5b7 (diff)
downloadrust-d3048eea3cd212f7d8eba54d016c98e12a969a07.tar.gz
rust-d3048eea3cd212f7d8eba54d016c98e12a969a07.zip
Improve docblock readability on small screen
-rw-r--r--src/librustdoc/html/static/rustdoc.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 8dad26dced9..0a0e2605893 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1624,6 +1624,10 @@ h4 > .notable-traits {
 	#settings-menu {
 		top: 7px;
 	}
+	
+	.docblock {
+		margin-left: 12px;
+	}
 }
 
 h3.notable {