Skip to content

Commit

Permalink
Rollup merge of #101706 - notriddle:notriddle/search-mobile, r=Guilla…
Browse files Browse the repository at this point in the history
…umeGomez

rustdoc: remove no-op `#search`

The margin rule was added in c729e4d to remove an unnecessary left margin that was present on desktop. This desktop-mode margin was itself removed in 135281e.

The padding rule was added in 135281e when converting the rule for `#main`, but didn't do anything even then.
  • Loading branch information
Dylan-DPC authored Sep 12, 2022
2 parents 228a8bd + 2d239fb commit 9bf89e7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1891,11 +1891,6 @@ in storage.js plus the media query with (min-width: 701px)
margin-top: 10px;
}

#search {
margin-left: 0;
padding: 0;
}

.anchor {
display: none !important;
}
Expand Down

0 comments on commit 9bf89e7

Please sign in to comment.