Skip to content

Commit

Permalink
Wrap too long item name and improve the item list display a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 17, 2024
1 parent cb12b52 commit 35fb71f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -2127,6 +2127,14 @@ in src-script.js and main.js
padding: 2px 4px;
box-shadow: 0 0 4px var(--main-background-color);
}

.item-table > li > .item-name {
width: 50%;
}
.item-table > li > div {
padding-bottom: 5px;
word-break: break-all;
}
}

@media print {
Expand Down

0 comments on commit 35fb71f

Please sign in to comment.