[openstreetmap/openstreetmap-website] Add user profile heatmap visualization for contributions (PR #5402)

Emin Kocan notifications at github.com
Tue Feb 4 09:26:15 UTC 2025


@kcne commented on this pull request.



> @@ -237,11 +237,29 @@
 
 <div class="richtext text-break clearfix"><%= @user.description.to_html %></div>
 
-<% if @heatmap_data.present? %>
-  <div class="overflow-auto" style="max-height: 500px;">
-    <%= tag.div(:id => "cal-heatmap", :data => { :heatmap => @heatmap_data.to_json }) %>
+<div class="small">

Removed that div entirely, thank you. I thought  it would help make it responsive on small screens in bootstrap grid, but apparently it doesn't do anything in this case.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5402/review/2592219336 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250204/ac3f0418/attachment-0001.htm>


More information about the rails-dev mailing list