X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/344c5534ee328243ce8f5787e0ef6c3dcbf87b15..519c7dc2ddbaa946e5523a2968dae5c9ebd7339c:/app/views/site/edit.html.erb?ds=sidebyside diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index d68b989df..45cc6c7f9 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -15,7 +15,7 @@ <% end %> <% end %> -<%= render :partial => 'sidebar', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %> +<%= render :partial => 'sidebar' %> <%= render :partial => 'search' %> <%= render :partial => 'resize' %> @@ -27,11 +27,11 @@ $("#greeting").hide(); $("#tabnav").hide(); - $("#content").css("top", "10px"); + $("#content").css("top", "0px"); <% if t('html.dir') == "ltr" -%> - $("#content").css("left", "10px"); + $("#content").css("left", "0px"); <% else -%> - $("#content").css("right", "10px"); + $("#content").css("right", "0px"); <% end -%> handleResize(); @@ -42,11 +42,11 @@ $("#greeting").show(); $("#tabnav").show(); - $("#content").css("top", "35px"); + $("#content").css("top", "30px"); <% if t('html.dir') == "ltr" -%> - $("#content").css("left", "192px"); + $("#content").css("left", "185px"); <% else -%> - $("#content").css("right", "192px"); + $("#content").css("right", "185px"); <% end -%> handleResize();