aboutsummaryrefslogtreecommitdiff
path: root/docs/css
diff options
context:
space:
mode:
authorAndy Konwinski <andyk@berkeley.edu>2012-10-08 09:30:32 -0700
committerAndy Konwinski <andyk@berkeley.edu>2012-10-08 09:33:40 -0700
commitcd710a7718345b983f9a72e68f9b094ad31878cb (patch)
tree7862b5d55091eec7249985cb7f78f8d2d19d31ff /docs/css
parentefc5423210d1aadeaea78273a4a8f10425753079 (diff)
downloadspark-cd710a7718345b983f9a72e68f9b094ad31878cb.tar.gz
spark-cd710a7718345b983f9a72e68f9b094ad31878cb.tar.bz2
spark-cd710a7718345b983f9a72e68f9b094ad31878cb.zip
Fixes the small gap above the nav menu dropdown boxes and the hoverable
menu items that was causing the dropdowns to go away when the user moved their mouse down towards them.
Diffstat (limited to 'docs/css')
-rwxr-xr-xdocs/css/main.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/css/main.css b/docs/css/main.css
index 84fe1d44ed..13fe0b8195 100755
--- a/docs/css/main.css
+++ b/docs/css/main.css
@@ -73,8 +73,13 @@ a:hover code {
* using solution at http://stackoverflow.com/questions/8878033/how-
* to-make-twitter-bootstrap-menu-dropdown-on-hover-rather-than-click
**/
+.dropdown-menu {
+ /* Remove the default 2px top margin which causes a small
+ gap between the hover trigger area and the popup menu */
+ margin-top: 0;
+}
ul.nav li.dropdown:hover ul.dropdown-menu{
- display: block;
+ display: block;
}
a.menu:after, .dropdown-toggle:after {
content: none;