diff --git a/components.html b/components.html index b4040dbe92..dbe981c2a9 100644 --- a/components.html +++ b/components.html @@ -2133,15 +2133,15 @@ base_url: "../" {% endhighlight %} -
-

Plugin dependency

-

The responsive navbar requires the collapse plugin to be included in your version of Bootstrap.

-
+
+

Plugin dependency

+

The responsive navbar requires the collapse plugin to be included in your version of Bootstrap.

+
-
-

Make navbars accessible

-

Be sure to add a role="navigation" to every navbar to help with accessibility.

-
+
+

Make navbars accessible

+

Be sure to add a role="navigation" to every navbar to help with accessibility.

+
@@ -2177,14 +2177,14 @@ base_url: "../" {% endhighlight %} -
-

Always add labels

-

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the .sr-only class.

-
+
+

Always add labels

+

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the .sr-only class.

+
-

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

+

Add the .navbar-btn class to <button> elements not residing in a <form> to vertically center them in the navbar.