summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-02-04 13:47:35 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-02-04 13:47:35 +0100
commit8a587e67afcd99e800eb0783a090f8b163cdfb10 (patch)
tree628e97bea22cb1514499abce0e5f353d83797a14 /src
parentc26abe75bcc4201c8f94d278f9da8645c4a8f718 (diff)
downloadrust-8a587e67afcd99e800eb0783a090f8b163cdfb10.tar.gz
Improve big sidebar elements display
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/static/rustdoc.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index fc5444b6b78..6d95123e63c 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1035,6 +1035,24 @@ h4 > .important-traits {
.show-it {
display: block;
+ width: 246px;
+ }
+
+ .show-it > .block.items {
+ margin: 8px 0;
+ }
+
+ .show-it > .block.items > ul {
+ margin: 0;
+ }
+
+ .show-it > .block.items > ul > li {
+ text-align: center;
+ margin: 2px 0;
+ }
+
+ .show-it > .block.items > ul > li > a {
+ font-size: 21px;
}
/* Because of ios, we need to actually have a full height sidebar title so the