소스 검색

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 }}