Skip to content

Commit

Permalink
Fix Guides search bar height
Browse files Browse the repository at this point in the history
In latest Twitter Bootstrap versions form-control height is
no more auto and this change is needed to make our search
bar work properly, see: twbs/bootstrap#26820
  • Loading branch information
kennyadsl committed Nov 9, 2018
1 parent 8c02c37 commit bc25ba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/source/partials/_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
<form class="search-box" action="<%= url_for('/search/index.html') %>" novalidate>
<div class="form-group form-group-submittable">
<div class="has-float-label">
<input type="email" class="form-control placeholder-shown" name="inputSearch" id="inputSearch" placeholder="Search Solidus Documentation">
<input type="email" class="form-control h-auto placeholder-shown" name="inputSearch" id="inputSearch" placeholder="Search Solidus Documentation">
<label for="inputSearch">Search Solidus Documentation</label>
<button type="submit" class="btn btn-link"><%= inline_svg("icons/search.svg", class: "isvg") %></button>
</div>
</div>
</form>
</div>
</header>
</header>

0 comments on commit bc25ba7

Please sign in to comment.