Skip to content

Commit 7af1114

Browse files
authored
Rollup merge of rust-lang#45280 - GuillaumeGomez:fix-mobile-search, r=kennytm
Remove terribly useless and problematic margin when searching on mobile Before: <img width="1440" alt="screen shot 2017-10-14 at 15 56 09" src="https://user-images.githubusercontent.com/3050060/31576308-54af4e48-b0f8-11e7-9e2e-375febbb87b2.png"> After: <img width="1440" alt="screen shot 2017-10-14 at 15 55 52" src="https://user-images.githubusercontent.com/3050060/31576304-5216ae74-b0f8-11e7-88a0-f53f293f5499.png"> r? @rust-lang/docs
2 parents 9442c9a + c729e4d commit 7af1114

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,10 @@ span.since {
831831
.toggle-wrapper {
832832
height: 1.5em;
833833
}
834+
835+
#search {
836+
margin-left: 0;
837+
}
834838
}
835839

836840
@media print {

0 commit comments

Comments
 (0)