Skip to content

Commit

Permalink
Fix hover bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wkenned1 authored Oct 29, 2024
1 parent 496285c commit 7fdd9f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/articles/_components/ArticlePreview.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ const entity = author.data.company
>
</div>
</div> -->
<div class="group relative w-full">
<div class="relative w-full">
<h2
class="mt-3 line-clamp-3 text-xl font-semibold leading-6 group-hover:text-gray-600 md:text-2xl lg:min-h-28 lg:text-3xl"
class="mt-3 line-clamp-3 text-xl font-semibold leading-6 md:text-2xl lg:min-h-28 lg:text-3xl"
>
<a href={`/articles/${article.slug}`} class="text-content-2">
<span class="absolute inset-0"></span>
{title}
</a>
</h2>
Expand Down

0 comments on commit 7fdd9f3

Please sign in to comment.