Stop the map overlapping the top bar
This commit is contained in:
parent
7d92ec7047
commit
2ef2d7c876
2 changed files with 3 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue