]> git.openstreetmap.org Git - rails.git/commitdiff
Style the map div correctly when editing an existing diary entry
authorTom Hughes <tom@compton.nu>
Mon, 1 Aug 2011 15:54:33 +0000 (16:54 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 1 Aug 2011 15:54:33 +0000 (16:54 +0100)
app/views/diary_entry/edit.html.erb
public/stylesheets/common.css

index 9e7d5bab83f92eb8b665ecbe685eb541928a01f2..122c4e4348512ae3a9f374eedafcabf39ddcf57c 100644 (file)
@@ -3,7 +3,7 @@
 <%= error_messages_for 'diary_entry' %>
 
 <% form_for :diary_entry do |f| %>
-  <table>
+  <table class="diary_entry">
     <tr valign="top">
       <td class="fieldName"><%= t 'diary_entry.edit.subject' -%></td>
       <td><%= f.text_field :title, :size => 60 %></td>
index 2a06085b33d7e747e9874838ff789a1070062c91..e256bb3f6a380a508fe8fd62cbbd155cb70d510b 100644 (file)
@@ -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;