Use full page width when editing with iD

This commit is contained in:
John Firebaugh 2013-07-31 11:46:32 -07:00 committed by Tom Hughes
parent 78e97ade45
commit 452eabc941
5 changed files with 42 additions and 28 deletions

View file

@ -59,6 +59,8 @@ class SiteController < ApplicationController
return
end
@extra_body_class = "site-edit-#{editor}"
if params[:node]
bbox = Node.find(params[:node]).bbox.to_unscaled
@lat = bbox.centre_lat