]> git.openstreetmap.org Git - rails.git/commitdiff
Use Bootstrap highlight class in note tables
authorAnton Khorev <tony29@yandex.ru>
Thu, 10 Aug 2023 03:31:38 +0000 (06:31 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 10 Aug 2023 18:16:26 +0000 (21:16 +0300)
app/assets/stylesheets/common.scss
app/views/notes/index.html.erb

index fb580fb7b540f4cf4015ecd3653ecb7bd3358890..cb5e55977fa5f12c5001e980104d0304ff62290a 100644 (file)
@@ -1279,14 +1279,6 @@ div.secondary-actions {
   }
 }
 
-/* Rules for the user notes list */
-
-.note_list {
-  tr.creator {
-    background-color: $offwhite;
-  }
-}
-
 /* Rules for the iD editor */
 
 .id-embed {
index 2eb99b8124e810ca755797c0196a83de007275e5..dd0cb26082f64a0a64e26731ef391063abede125 100644 (file)
@@ -21,7 +21,7 @@
       </tr>
     </thead>
   <% @notes.each do |note| -%>
-    <tr<% if note.author == @user %> class="creator"<% end %>>
+    <tr<% if note.author == @user %> class="table-primary"<% end %>>
       <td>
         <% if note.closed? %>
           <%= image_tag("closed_note_marker.png", :alt => "closed", :size => "25x40") %>