Skip to content

Commit 63e86a7

Browse files
Rollup merge of rust-lang#79936 - GuillaumeGomez:mobile-fix-item-name, 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`
2 parents 5d8b2a5 + 9c36491 commit 63e86a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,9 +1570,13 @@ h4 > .notable-traits {
15701570
height: 73px;
15711571
}
15721572

1573+
#main {
1574+
margin-top: 100px;
1575+
}
1576+
15731577
#main > table:not(.table-display) td {
15741578
word-break: break-word;
1575-
min-width: 10%;
1579+
width: 50%;
15761580
}
15771581

15781582
.search-container > div {

0 commit comments

Comments
 (0)