X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/344c5534ee328243ce8f5787e0ef6c3dcbf87b15..4377418d53a668d369b38f298db46cb7ef68b0de:/app/views/site/edit.html.erb diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index d68b989df..dadb9e4e5 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -15,9 +15,8 @@ <% end %> <% end %> -<%= render :partial => 'sidebar', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %> +<%= render :partial => 'sidebar' %> <%= render :partial => 'search' %> -<%= render :partial => 'resize' %> <%= render :partial => preferred_editor %> @@ -27,11 +26,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 +41,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();