Skip to content

Commit

Permalink
Fix: V2 project submissions title hover in dark mode
Browse files Browse the repository at this point in the history
Because:
* Hovering on the submission title in dark mode makes the title too dark to read.

This commit:
* Make the title link lighter when hovering on dark mode.
  • Loading branch information
KevinMulhern committed Jul 22, 2023
1 parent 4089976 commit 7acee4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if url.present? %>
<%= link_to title, url, class: 'truncate max-w-xs lgs:max-w-lg font-medium text-lg break-words hover:text-gray-800', data: { turbo_frame: '_top' } %>
<%= link_to title, url, class: 'truncate max-w-xs lgs:max-w-lg font-medium text-lg break-words hover:text-gray-800 dark:hover:text-gray-200', data: { turbo_frame: '_top' } %>
<% else %>
<p class="truncate max-w-xs lgs:max-w-lg font-medium text-lg break-words"><%= title %></p>
<% end %>

0 comments on commit 7acee4d

Please sign in to comment.