]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #4150 from AntonKhorev/note-table-bootstrap-highlight
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Aug 2023 12:35:47 +0000 (13:35 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 12:35:47 +0000 (13:35 +0100)
Use Bootstrap highlight class in note tables

app/assets/stylesheets/common.scss
app/views/notes/index.html.erb

index ee11340d940cec302d2fd45d09410ae829916eda..3eedfdbae3d21fed1dcc65986a86e9f6e03ae28b 100644 (file)
@@ -1220,14 +1220,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") %>