[openstreetmap/openstreetmap-website] Adapt notes table to dark mode (PR #4672)
Tobias
notifications at github.com
Tue Apr 9 14:53:12 UTC 2024
@tordans commented on this pull request.
> @@ -24,19 +26,20 @@
</tr>
</thead>
<% @notes.each do |note| -%>
- <tr<% if note.author == @user %> class="table-primary"<% end %>>
- <td>
+ <% cell_class = submitted_class if note.author == @user -%>
+ <tr>
I see, but what is it about our utility classes that don't work on `tr`? I just tried it and they don't, but I did not see why …
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4672#discussion_r1557794648
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4672/review/1989296883 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240409/19f87199/attachment.htm>
More information about the rails-dev
mailing list