@hlfan commented on this pull request.
> + .addClass("bg-body-tertiary");
+ labelLink
+ .closest("tr")
+ .after($("<tr>").append(cell));
+
+ if (data.icon) {
+ $("<img>")
+ .attr({ src: OSM.WIKIMEDIA_COMMONS_URL + "Special:FilePath/" +
data.icon, height: "32" })
+ .addClass("float-start mb-2 me-2")
+ .appendTo(cell);
+ }
+ if (data.label) {
+ labelLink.clone()
+ .text(data.label)
+ .removeAttr("title")
+ .addClass("ms-1")
That was originally on the article link to separate it, so that margin should
be on the other side. Idk how I managed to change it halfway.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6127#discussion_r2173583382
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6127/review/2969067...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev