aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-18 20:06:38 -0800
committerMark Otto <[email protected]>2012-02-18 20:06:38 -0800
commitbbb2fb33957da815e88efa0797df5817268ce812 (patch)
tree66fbbf04be1a2db9d9c26df052a3a02d60de10b5 /less
parentfed3b59e46d9c6c889159ac9cf5c685b3278cd5f (diff)
downloadbootstrap-bbb2fb33957da815e88efa0797df5817268ce812.tar.xz
bootstrap-bbb2fb33957da815e88efa0797df5817268ce812.zip
fix right aligned dropdowns
Diffstat (limited to 'less')
-rw-r--r--less/dropdowns.less6
-rw-r--r--less/navbar.less2
2 files changed, 6 insertions, 2 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 1ec06b04a..1b445844c 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -123,6 +123,12 @@
}
}
+// Right aligned dropdowns
+.pull-right .dropdown-menu {
+ left: auto;
+ right: 0;
+}
+
// Typeahead
.typeahead {
margin-top: 2px; // give it some space to breathe
diff --git a/less/navbar.less b/less/navbar.less
index 16553c1ff..b656cba48 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -286,8 +286,6 @@
// Right aligned menus need alt position
.navbar .nav.pull-right .dropdown-menu {
- left: auto;
- right: 0;
&:before {
left: auto;
right: 12px;