[openstreetmap/openstreetmap-website] Adapt notes table to dark mode (PR #4672)
Anton Khorev
notifications at github.com
Tue Apr 9 14:30:13 UTC 2024
@AntonKhorev 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>
Their contextual classes don't change with light/dark theme.
Open the docs for the current version, there's a theme switch in the upper right corner
https://getbootstrap.com/docs/5.3/content/tables/#variants
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4672#discussion_r1557742890
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4672/review/1989219352 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240409/e8e20351/attachment.htm>
More information about the rails-dev
mailing list