@nertc commented on this pull request.


> +  <p class="text-body-secondary">
+    <%= image_tag 
"/assets/social_link_icons/#{social_link.parsed[:platform].nil? ? 'other' : 
social_link.parsed[:platform]}.svg",
+                  :alt => social_link.parsed[:platform].nil? ? "other" : 
social_link.parsed[:platform],
+                  :class => "me-2" %>
+    <%= link_to social_link.parsed[:name], social_link.url, :class => 
"text-body-secondary", :rel => "nofollow me" %>
+  </p>

>From now, URL won't wrap and will show ellipses (`...`) if it doesn't fit.

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/5439/review/2612052...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to