diff options
| author | Mark Otto <[email protected]> | 2013-12-22 22:07:01 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-22 22:07:01 -0800 |
| commit | b505c8557d4145b38257fc51d6ca4e7d98a0b62c (patch) | |
| tree | 965a1313bf38a1856b604e5e5b3ac2412b333a46 /components.html | |
| parent | 6cde19fc33fd8d8a93589ab7e70afc58e889d87e (diff) | |
| download | bootstrap-b505c8557d4145b38257fc51d6ca4e7d98a0b62c.tar.xz bootstrap-b505c8557d4145b38257fc51d6ca4e7d98a0b62c.zip | |
fixes #11961: dropdown alignment docs improvements
Diffstat (limited to 'components.html')
| -rw-r--r-- | components.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components.html b/components.html index b511f46a0..3bdf2df79 100644 --- a/components.html +++ b/components.html @@ -107,8 +107,12 @@ base_url: "../" </div> {% endhighlight %} - <h3 id="dropdowns-alignment">Alignment options</h3> - <p>Add <code>.dropdown-menu-right</code> to a <code>.dropdown-menu</code> to right align the dropdown menu.</p> + <h3 id="dropdowns-alignment">Alignment</h3> + <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"> + <h4>May require additional positioning</h4> + <p>Dropdowns are automatically positioned via CSS within the normal flow of the document. This means dropdowns may be cropped by parents with certain <code>overflow</code> properties or appear out of bounds of the viewport. Address these issues on your own as they arise.</p> + </div> <div class="bs-callout bs-callout-warning"> <h4>Deprecated <code>.pull-right</code> alignment</h4> <p>As of v3.1, we've deprecated <code>.pull-right</code> on dropdown menus. To right-align a menu, use <code>.dropdown-menu-right</code>. Right-aligned nav components in the navbar use a mixin version of this class to automatically align the menu. To override it, use <code>.dropdown-menu-left</code>.</p> |
