From b505c8557d4145b38257fc51d6ca4e7d98a0b62c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 22 Dec 2013 22:07:01 -0800 Subject: [PATCH] fixes #11961: dropdown alignment docs improvements --- components.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components.html b/components.html index b511f46a01..3bdf2df79e 100644 --- a/components.html +++ b/components.html @@ -107,8 +107,12 @@ base_url: "../" {% endhighlight %} - -

Add .dropdown-menu-right to a .dropdown-menu to right align the dropdown menu.

+ +

By default, a dropdown menu is automatically positioned 100% from the top and along the left side of its parent. Add .dropdown-menu-right to a .dropdown-menu to right align the dropdown menu.

+
+

May require additional positioning

+

Dropdowns are automatically positioned via CSS within the normal flow of the document. This means dropdowns may be cropped by parents with certain overflow properties or appear out of bounds of the viewport. Address these issues on your own as they arise.

+

Deprecated .pull-right alignment

As of v3.1, we've deprecated .pull-right on dropdown menus. To right-align a menu, use .dropdown-menu-right. Right-aligned nav components in the navbar use a mixin version of this class to automatically align the menu. To override it, use .dropdown-menu-left.