diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2012-10-08 09:45:03 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2012-10-08 09:45:03 -0700 |
commit | 280286b6cdd78426fdbb88390ac41cacc6a92485 (patch) | |
tree | 7862b5d55091eec7249985cb7f78f8d2d19d31ff | |
parent | efc5423210d1aadeaea78273a4a8f10425753079 (diff) | |
parent | cd710a7718345b983f9a72e68f9b094ad31878cb (diff) | |
download | spark-280286b6cdd78426fdbb88390ac41cacc6a92485.tar.gz spark-280286b6cdd78426fdbb88390ac41cacc6a92485.tar.bz2 spark-280286b6cdd78426fdbb88390ac41cacc6a92485.zip |
Merge pull request #255 from andyk/fix-nav-gap
Removes the annoying small gap above the nav menu dropdown boxes
-rwxr-xr-x | docs/css/main.css | 7 |
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; |