[openstreetmap/openstreetmap-website] Show tag changes in object history view (PR #6448)

Tom Hughes notifications at github.com
Tue Nov 4 12:54:25 UTC 2025


@tomhughes commented on this pull request.



> @@ -1033,3 +1033,91 @@ img.trace_image {
     }
   }
 }
+
+/* Tag change highlighting for history views */
+.browse-tag-list {
+  .tag-added {
+    background-color: rgba(var(--bs-success-rgb), 0.08) !important;
+    border-left: 4px solid var(--bs-success);
+
+    th, td {
+      background-color: inherit !important;
+    }
+  }
+
+  .tag-modified {
+    background-color: rgba(var(--bs-warning-rgb), 0.08) !important;

Well one way or another I think we want the height to be consistent with the current behaviour, or at least with the non-history tag view, so if we're going to change it then it needs to change there too.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6448#discussion_r2490418413
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6448/review/3416324521 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251104/03fb703f/attachment-0001.htm>


More information about the rails-dev mailing list