Skip to content

Commit b5f6884

Browse files
Rollup merge of #46825 - GuillaumeGomez:mobile-search, r=QuietMisdreavus
Improve search display on mobile r? @QuietMisdreavus
2 parents 25e5af8 + 3d4c505 commit b5f6884

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+20
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,26 @@ h4 > .important-traits {
10111011
left: -22px;
10121012
top: 24px;
10131013
}
1014+
1015+
#titles > div > div.count {
1016+
float: left;
1017+
width: 100%;
1018+
}
1019+
1020+
#titles {
1021+
height: 50px;
1022+
}
1023+
}
1024+
1025+
1026+
@media (max-width: 416px) {
1027+
#titles {
1028+
height: 73px;
1029+
}
1030+
1031+
#titles > div {
1032+
height: 73px;
1033+
}
10141034
}
10151035

10161036
.modal {

0 commit comments

Comments
 (0)