Skip to content

Commit

Permalink
fix: navigation search bar styling
Browse files Browse the repository at this point in the history
  • Loading branch information
greyGroot authored and cesswairimu committed Jan 17, 2020
1 parent eaca559 commit b805ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<ul class="navbar-nav">
<form action="/search" method='get' class="navbar-form navbar-left" autocomplete="off">
<div class="input-group" style="min-width: 160px;">
<input class="form-control bg-light" id="search-input" type="text" name='q' placeholder="Search maps" value='<%= params[:id] if params[:action] == "search" %>'>
<input class="form-control" id="search-input" type="text" name='q' placeholder="Search maps" value='<%= params[:id] if params[:action] == "search" %>'>
<span class="input-group-append">
<button class="btn btn-light" type="submit" style="margin-left: 2px;"><i class="fa fa-search"></i></button>
<button class="btn btn-light" type="submit"><i class="fa fa-search"></i></button>
</span>
</div>
</form>
Expand Down

0 comments on commit b805ac5

Please sign in to comment.