[openstreetmap/openstreetmap-website] Replace custom SVG map controls with Bootstrap Icons (Fixes #6681) (PR #6695)

Marwin Hochfelsner notifications at github.com
Wed Jan 14 08:17:51 UTC 2026


@hlfan commented on this pull request.



> @@ -11,10 +11,7 @@ L.OSM.note = function (options) {
       .attr("title", OSM.i18n.t("javascripts.site.createnote_tooltip"))
       .appendTo($container);
 
-    $(L.SVG.create("svg"))
-      .append($(L.SVG.create("use")).attr("href", "#icon-note"))
-      .attr("class", "h-100 w-100")
-      .appendTo(link);
+    link.append($("<i>").addClass("bi bi-chat-square-text-fill"));

Same as in https://github.com/openstreetmap/openstreetmap-website/pull/6695#discussion_r2683511895

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

Message ID: <openstreetmap/openstreetmap-website/pull/6695/review/3659438780 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260114/5becf5e0/attachment.htm>


More information about the rails-dev mailing list