Skip to content

Commit fed0592

Browse files
Wrap too long item name and improve the item list display a bit
1 parent 52f3c71 commit fed0592

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,6 +2174,14 @@ in src-script.js and main.js
21742174
padding: 2px 4px;
21752175
box-shadow: 0 0 4px var(--main-background-color);
21762176
}
2177+
2178+
.item-table > li > .item-name {
2179+
width: 33%;
2180+
}
2181+
.item-table > li > div {
2182+
padding-bottom: 5px;
2183+
word-break: break-all;
2184+
}
21772185
}
21782186

21792187
@media print {

0 commit comments

Comments
 (0)