]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs>Components>Dropdowns headings 15884/head
authorSteven Black <steveb@stevenblack.com>
Tue, 24 Feb 2015 02:01:54 +0000 (21:01 -0500)
committerSteven Black <steveb@stevenblack.com>
Tue, 24 Feb 2015 02:01:54 +0000 (21:01 -0500)
Normalized the heading hierarchy in the documentation for the Dropdowns component.

docs/_includes/components/dropdowns.html

index 1c0a3c5a25feba922570cbe1966c6fb873042b5b..2ad26928279e7093c1ca7ee1a29ebc31492f843b 100644 (file)
@@ -3,7 +3,7 @@
 
   <p class="lead">Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="../javascript/#dropdowns">dropdown JavaScript plugin</a>.</p>
 
-  <h3 id="dropdowns-example">Example</h3>
+  <h2 id="dropdowns-example">Example</h2>
   <p>Wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then add the menu's HTML. Dropdown menus can be changed to expand upwards (instead of downwards) by adding <code>.dropup</code> to the parent.</p>
   <div class="bs-example" data-example-id="static-dropdown">
     <div class="dropdown clearfix">
@@ -56,7 +56,7 @@
 </div>
 {% endhighlight %}
 
-  <h3 id="dropdowns-alignment">Alignment</h3>
+  <h2 id="dropdowns-alignment">Alignment</h2>
   <p>By default, a dropdown menu is automatically positioned 100% from the top and along the left side of its parent. Add <code>.dropdown-menu-right</code> to a <code>.dropdown-menu</code> to right align the dropdown menu.</p>
   <div class="bs-callout bs-callout-warning" id="callout-dropdown-positioning">
     <h4>May require additional positioning</h4>
@@ -72,7 +72,7 @@
 </ul>
 {% endhighlight %}
 
-  <h3 id="dropdowns-headers">Headers</h3>
+  <h2 id="dropdowns-headers">Headers</h2>
   <p>Add a header to label sections of actions in any dropdown menu.</p>
   <div class="bs-example">
     <div class="dropdown clearfix">
@@ -98,7 +98,7 @@
 </ul>
 {% endhighlight %}
 
-  <h3 id="dropdowns-divider">Divider</h3>
+  <h2 id="dropdowns-divider">Divider</h2>
   <p>Add a divider to separate series of links in a dropdown menu.</p>
   <div class="bs-example">
     <div class="dropdown clearfix">
 </ul>
 {% endhighlight %}
 
-  <h3 id="dropdowns-disabled">Disabled menu items</h3>
+  <h2 id="dropdowns-disabled">Disabled menu items</h2>
   <p>Add <code>.disabled</code> to a <code>&lt;li&gt;</code> in the dropdown to disable the link.</p>
   <div class="bs-example">
     <div class="dropdown clearfix">