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 {

View file

@ -455,7 +455,7 @@ body.site-export #tabnav a#exportanchor {
.site-index .leaflet-top,
.site-export .leaflet-top {
top: 40px !important;
top: 10px !important;
.leaflet-control {
margin-top: 0px !important;
@ -679,7 +679,6 @@ body.site-export #tabnav a#exportanchor {
.site-index #content,
.site-export #content {
position: fixed;
margin-top: 0px;
left: 0px;
right: 0px;
top: 0px;
@ -687,10 +686,6 @@ body.site-export #tabnav a#exportanchor {
padding: 0px;
}
.site-edit #content {
top: 30px;
}
#slim_container {
width: 100%;
}