add hover state for home items
This commit is contained in:
parent
b9adef81fa
commit
46997c261d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
<%= if @channel do %>
|
||||
<div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5">
|
||||
<%= for note <- @channel.notes do %>
|
||||
<a href={~p"/n/#{note.slug}"} class="group">
|
||||
<a href={~p"/n/#{note.slug}"} class="group rounded -mx-2 -my-0.5 px-2 py-0.5 hover:bg-theme-dim">
|
||||
<span class="text-theme-heading text-lg font-semibold leading-8 group-hover:text-theme-heading/75"><%= note.name %></span>
|
||||
<span class="text-theme-muted text-sm group-hover:text-theme-muted/75"><%= pretty_date(note.published_at) %></span>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue