X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2ef2d7c876168d6beb606b655470f48ffabc8841..dbc523bf34f172df45f751020018ff260917e8c9:/app/assets/javascripts/edit.js diff --git a/app/assets/javascripts/edit.js b/app/assets/javascripts/edit.js index c2129e20c..30823d49e 100644 --- a/app/assets/javascripts/edit.js +++ b/app/assets/javascripts/edit.js @@ -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 {