From 2047f7cc9b85686e1f4598e60dd241c04ef2989c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 1 Aug 2011 16:54:33 +0100 Subject: [PATCH] Style the map div correctly when editing an existing diary entry --- app/views/diary_entry/edit.html.erb | 2 +- public/stylesheets/common.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.43.2
<%= t 'diary_entry.edit.subject' -%> <%= f.text_field :title, :size => 60 %>