Parcourir la source

fix: more consistent search input:focus rendering

...across browsers and devices
George Cushen il y a 5 ans
Parent
commit
ba401912b8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      layouts/partials/search.html

+ 1 - 1
layouts/partials/search.html

@@ -14,7 +14,7 @@
       <div id="search-box">
         {{ if eq site.Params.search.engine 1 }}
         <input name="q" id="search-query" placeholder="{{i18n "search_placeholder"}}" autocapitalize="off"
-        autocomplete="off" autocorrect="off" spellcheck="false" type="search">
+        autocomplete="off" autocorrect="off" spellcheck="false" type="search" class="form-control">
         {{ else }}
         <!-- Search box will appear here -->
         {{ end }}