aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-20 12:38:49 -0800
committerMark Otto <[email protected]>2012-02-20 12:38:49 -0800
commit7ef7547a1421825cb73382ad6317aba8affe3dc8 (patch)
treee01c87d4f039b6fc506df23b0a59616256945a43 /less/dropdowns.less
parent6df925bc756ab6f9e7a26d4b9c5afc858b34b2d2 (diff)
downloadbootstrap-7ef7547a1421825cb73382ad6317aba8affe3dc8.tar.xz
bootstrap-7ef7547a1421825cb73382ad6317aba8affe3dc8.zip
add horizontal divider support to nav list, including documentation for it, per #2106
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less13
1 files changed, 1 insertions, 12 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 88a7462c4..fa46e288b 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -71,18 +71,7 @@
// Dividers (basically an hr) within the dropdown
.divider {
- height: 1px;
- margin: 5px 1px;
- overflow: hidden;
- background-color: #e5e5e5;
- border-bottom: 1px solid @white;
-
- // IE7 needs a set width since we gave a height. Restricting just
- // to IE7 to keep the 1px left/right space in other browsers.
- // It is unclear where IE is getting the extra space that we need
- // to negative-margin away, but so it goes.
- *width: 100%;
- *margin: -5px 0 5px;
+ .nav-divider();
}
// Links within the dropdown menu