From: Tom Hughes Date: Mon, 1 Aug 2011 15:54:33 +0000 (+0100) Subject: Style the map div correctly when editing an existing diary entry X-Git-Tag: live~6242 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/2047f7cc9b85686e1f4598e60dd241c04ef2989c Style the map div correctly when editing an existing diary entry --- diff --git a/app/views/diary_entry/edit.html.erb b/app/views/diary_entry/edit.html.erb index 9e7d5bab8..122c4e434 100644 --- a/app/views/diary_entry/edit.html.erb +++ b/app/views/diary_entry/edit.html.erb @@ -3,7 +3,7 @@ <%= error_messages_for 'diary_entry' %> <% form_for :diary_entry do |f| %> - +
diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index 2a06085b3..e256bb3f6 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -720,7 +720,7 @@ table.browse_details th { /* Rules for the new diary entry page */ -.diary_entry_new div#map { +.diary_entry div#map { position: relative; width: 90%; height: 400px;
<%= t 'diary_entry.edit.subject' -%> <%= f.text_field :title, :size => 60 %>