Skip to content

Commit

Permalink
Rollup merge of rust-lang#79936 - GuillaumeGomez:mobile-fix-item-name…
Browse files Browse the repository at this point in the history
…, r=Nemo157,jyn514

Fix item name display on mobile

Fixes rust-lang/docs.rs#1200

![Screenshot_20201211-200931](https://user-images.githubusercontent.com/3050060/101944457-0c06eb00-3bed-11eb-8f63-a4d4fd3cbb56.jpg)
![Screenshot_20201211-195846](https://user-images.githubusercontent.com/3050060/101944459-0d381800-3bed-11eb-91ff-815a2af7ca72.jpg)

cc `@jyn514`

r? `@Nemo157`
  • Loading branch information
GuillaumeGomez authored Dec 14, 2020
2 parents 5d8b2a5 + 9c36491 commit 63e86a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1570,9 +1570,13 @@ h4 > .notable-traits {
height: 73px;
}

#main {
margin-top: 100px;
}

#main > table:not(.table-display) td {
word-break: break-word;
min-width: 10%;
width: 50%;
}

.search-container > div {
Expand Down

0 comments on commit 63e86a7

Please sign in to comment.