]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#1702: add callout to navbar for component alignment
authorMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2012 08:11:21 +0000 (00:11 -0800)
committerMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2012 08:11:21 +0000 (00:11 -0800)
docs/assets/bootstrap.zip
docs/components.html
docs/templates/pages/components.mustache

index d43ca5f9aa55438afa4fb6d1c51926162661323a..3c655b03a1dc2174c6325d0e3691c9371c5ca2fd 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index f0559e5fa1236ead2088a8245235bda8ad64c810..1c5bc5abe21281ae8f9be0811c35f786d2fb9a65 100644 (file)
   &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 </pre>
+      <h3>Component alignment</h3>
+      <p>To align a nav, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
       <h3>Adding dropdowns</h3>
       <p>Adding dropdowns to the nav is super simple, but does require the use of <a href="./javascript.html#dropdown">our javascript plugin</a>.</p>
 <pre class="prettyprint linenums">
index 1bf6b11d4917b6a204fd0ece1c46133f3bf19262..1f466aa5ddb7a5915027471c22444351984ddad9 100644 (file)
   &lt;li&gt;&lt;a href="#"&gt;{{_i}}Link{{/i}}&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 </pre>
+      <h3>{{_i}}Component alignment{{/i}}</h3>
+      <p>{{_i}}To align a nav, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
       <h3>{{_i}}Adding dropdowns{{/i}}</h3>
       <p>{{_i}}Adding dropdowns to the nav is super simple, but does require the use of <a href="./javascript.html#dropdown">our javascript plugin</a>.{{/i}}</p>
 <pre class="prettyprint linenums">