From 2f2ce15e587868cfbde2906560dae8def0b4880d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 27 Aug 2013 08:34:17 -0700 Subject: Fixes #10082: document `.navbar-form` * Adds new section to navbar docs with example * Updates example classes for all collapsing navbars so their numbers increment as you scroll --- components.html | 62 ++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 14 deletions(-) (limited to 'components.html') diff --git a/components.html b/components.html index c2e0e261a..9b724b209 100644 --- a/components.html +++ b/components.html @@ -1497,8 +1497,9 @@ base_url: "../" - -

For buttons not residing in a <form>, add this class to vertically center buttons within a navbar.

+ +

Place form content within .navbar-form for proper vertical alignment and collapsed behavior in narrow viewports. Use the alignment options to decide where it resides within the navbar content.

+

As a heads up, .navbar-form shares much of it's code with .form-inline via mixin.

+
+{% highlight html %} + +{% endhighlight %} + + + +

For buttons not residing in a <form>, add this class to vertically center buttons within a navbar.

+
+ @@ -1525,7 +1559,7 @@ base_url: "../"
@@ -1548,7 +1582,7 @@ base_url: "../"
@@ -1577,7 +1611,7 @@ base_url: "../"