]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Use full page width when editing with iD
[rails.git] / app / controllers / site_controller.rb
index 3b0a19cf91d70d2c516076ca4ab71074fe1dc886..b2212645c2761d764e03287a23b8dc6f79af0ec1 100644 (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