2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

fix docs: move .pull-left from search input to search form in navbar

This commit is contained in:
Mark Otto
2012-01-30 08:58:40 -08:00
parent 3722c34b50
commit 774904464d
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -741,8 +741,8 @@
<h3>{{_i}}Search form{{/i}}</h3>
<p>{{_i}}Search forms receive custom styles in the navbar with the <code>.navbar-search</code> class. Include <code>.pull-left</code> or <code>.pull-right</code> on the <code>form</code> to align it.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;form class="navbar-search"&gt;
&lt;input type="text" class="search-query pull-left" placeholder="{{_i}}Search{{/i}}"&gt;
&lt;form class="navbar-search pull-left"&gt;
&lt;input type="text" class="search-query" placeholder="{{_i}}Search{{/i}}"&gt;
&lt;/form&gt;
</pre>
<h3>{{_i}}Optional responsive variation{{/i}}</h3>