Revert "Stop the map overlapping the top bar"

This reverts commit 2ef2d7c876.
This commit is contained in:
Tom Hughes 2012-11-23 19:36:56 +00:00
parent 8e27c78d3c
commit f978642a58
2 changed files with 8 additions and 3 deletions

View file

@ -2,7 +2,7 @@ function maximiseMap() {
$("#left").hide();
$("#top-bar").hide();
$("#content").css("margin-top", "0px");
$("#content").css("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("margin-top", "30px");
$("#content").css("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: 10px !important;
top: 40px !important;
.leaflet-control {
margin-top: 0px !important;
@ -679,6 +679,7 @@ body.site-export #tabnav a#exportanchor {
.site-index #content,
.site-export #content {
position: fixed;
margin-top: 0px;
left: 0px;
right: 0px;
top: 0px;
@ -686,6 +687,10 @@ body.site-export #tabnav a#exportanchor {
padding: 0px;
}
.site-edit #content {
top: 30px;
}
#slim_container {
width: 100%;
}