From: Mark Otto Date: Sun, 5 Feb 2012 08:11:21 +0000 (-0800) Subject: #1702: add callout to navbar for component alignment X-Git-Tag: v2.0.1~1^2~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdb1ad1a52a9f55c63003b7b62ef8b1e9c6fcfaf;p=thirdparty%2Fbootstrap.git #1702: add callout to navbar for component alignment --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index d43ca5f9aa..3c655b03a1 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/components.html b/docs/components.html index f0559e5fa1..1c5bc5abe2 100644 --- a/docs/components.html +++ b/docs/components.html @@ -864,6 +864,8 @@ <li><a href="#">Link</a></li> </ul> +

Component alignment

+

To align a nav, search form, or text, use the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction.

Adding dropdowns

Adding dropdowns to the nav is super simple, but does require the use of our javascript plugin.

diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index 1bf6b11d49..1f466aa5dd 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -788,6 +788,8 @@
   <li><a href="#">{{_i}}Link{{/i}}</a></li>
 </ul>
 
+

{{_i}}Component alignment{{/i}}

+

{{_i}}To align a nav, search form, or text, use the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction.{{/i}}

{{_i}}Adding dropdowns{{/i}}

{{_i}}Adding dropdowns to the nav is super simple, but does require the use of our javascript plugin.{{/i}}