Skip to content

Commit

Permalink
Add a slight shadow when hovering over a card.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislo committed Aug 9, 2024
1 parent db1ef82 commit 8670bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/card_component/card_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div>
<div class="border border-slate-200 aspect-w-1 aspect-h-1">
<div class="group">
<div class="border border-slate-200 aspect-w-1 aspect-h-1 group-hover:shadow">
<%= image_tag @image, class: 'object-cover' %>
</div>
<p class='font-medium text-slate-600 break-words'><%= @title %></p>
Expand Down

0 comments on commit 8670bea

Please sign in to comment.