Skip to content

Commit 35fb71f

Browse files
Wrap too long item name and improve the item list display a bit
1 parent cb12b52 commit 35fb71f

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
@@ -2127,6 +2127,14 @@ in src-script.js and main.js
21272127
padding: 2px 4px;
21282128
box-shadow: 0 0 4px var(--main-background-color);
21292129
}
2130+
2131+
.item-table > li > .item-name {
2132+
width: 50%;
2133+
}
2134+
.item-table > li > div {
2135+
padding-bottom: 5px;
2136+
word-break: break-all;
2137+
}
21302138
}
21312139

21322140
@media print {

0 commit comments

Comments
 (0)