Skip to content

Commit

Permalink
Fix search bar width for mobile nav (#575)
Browse files Browse the repository at this point in the history
* Shorten search bar width for mobile nav

* Remove min-device-width

* Use max-width
  • Loading branch information
yangshun authored and JoelMarcey committed Apr 17, 2018
1 parent 159b80d commit ba024a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,9 @@ input#search_input_react:focus, input#search_input_react:active {
color: #fff;
width: 220px;
}
@media only screen and (min-device-width: 360px) and (max-device-width: 735px) {
@media only screen and (max-width: 735px) {
.navSearchWrapper {
width: 50%;
width: 40%;
}
}
input::-webkit-input-placeholder {
Expand Down

0 comments on commit ba024a2

Please sign in to comment.