mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
fix docs: move .pull-left from search input to search form in navbar
This commit is contained in:
parent
3722c34b50
commit
774904464d
Binary file not shown.
@ -817,8 +817,8 @@
|
||||
<h3>Search form</h3>
|
||||
<p>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.</p>
|
||||
<pre class="prettyprint linenums">
|
||||
<form class="navbar-search">
|
||||
<input type="text" class="search-query pull-left" placeholder="Search">
|
||||
<form class="navbar-search pull-left">
|
||||
<input type="text" class="search-query" placeholder="Search">
|
||||
</form>
|
||||
</pre>
|
||||
<h3>Optional responsive variation</h3>
|
||||
|
4
docs/templates/pages/components.mustache
vendored
4
docs/templates/pages/components.mustache
vendored
@ -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">
|
||||
<form class="navbar-search">
|
||||
<input type="text" class="search-query pull-left" placeholder="{{_i}}Search{{/i}}">
|
||||
<form class="navbar-search pull-left">
|
||||
<input type="text" class="search-query" placeholder="{{_i}}Search{{/i}}">
|
||||
</form>
|
||||
</pre>
|
||||
<h3>{{_i}}Optional responsive variation{{/i}}</h3>
|
||||
|
Loading…
x
Reference in New Issue
Block a user