Stop the map overlapping the top bar

This commit is contained in:
Tom Hughes 2012-11-23 12:23:38 +00:00
parent 7d92ec7047
commit 2ef2d7c876
2 changed files with 3 additions and 8 deletions

View file

@ -2,7 +2,7 @@ function maximiseMap() {
$("#left").hide();
$("#top-bar").hide();
$("#content").css("top", "0px");
$("#content").css("margin-top", "0px");
if ($("html").attr("dir") == "ltr") {
$("#content").css("margin-left", "0px");
} else {
@ -16,7 +16,7 @@ function minimiseMap() {
$("#left").show();
$("#top-bar").show();
$("#content").css("top", "30px");
$("#content").css("margin-top", "30px");
if ($("html").attr("dir") == "ltr") {
$("#content").css("margin-left", "185px");
} else {