瀏覽代碼

fix: more consistent search input:focus rendering

...across browsers and devices
George Cushen 5 年之前
父節點
當前提交
ba401912b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 }}