Skip to content

Commit 8a587e6

Browse files
Improve big sidebar elements display
1 parent c26abe7 commit 8a587e6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+18
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,24 @@ h4 > .important-traits {
10351035

10361036
.show-it {
10371037
display: block;
1038+
width: 246px;
1039+
}
1040+
1041+
.show-it > .block.items {
1042+
margin: 8px 0;
1043+
}
1044+
1045+
.show-it > .block.items > ul {
1046+
margin: 0;
1047+
}
1048+
1049+
.show-it > .block.items > ul > li {
1050+
text-align: center;
1051+
margin: 2px 0;
1052+
}
1053+
1054+
.show-it > .block.items > ul > li > a {
1055+
font-size: 21px;
10381056
}
10391057

10401058
/* Because of ios, we need to actually have a full height sidebar title so the

0 commit comments

Comments
 (0)