Link and header order changed for Safari inter-line hover bug (in Related posts widget)
This commit is contained in:
@@ -36,19 +36,21 @@ const image = await findImage(post.image);
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<h3 class="mb-2 text-xl font-bold leading-tight sm:text-2xl font-heading">
|
|
||||||
{
|
{
|
||||||
!APP_BLOG?.post?.isEnabled ? (
|
!APP_BLOG?.post?.isEnabled ? (
|
||||||
post.title
|
post.title
|
||||||
) : (
|
) : (
|
||||||
<a
|
<a
|
||||||
href={getPermalink(post.permalink, 'post')}
|
href={getPermalink(post.permalink, 'post')}
|
||||||
class="hover:text-primary dark:hover:text-blue-700 transition ease-in duration-200"
|
class="inline-block hover:text-primary dark:hover:text-blue-700 transition ease-in duration-200"
|
||||||
>
|
>
|
||||||
|
<h3 class="mb-2 text-xl font-bold leading-tight sm:text-2xl font-heading">
|
||||||
{post.title}
|
{post.title}
|
||||||
|
</h3>
|
||||||
</a>
|
</a>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
</h3>
|
|
||||||
<p class="text-muted dark:text-slate-400 text-lg">{post.excerpt}</p>
|
<p class="text-muted dark:text-slate-400 text-lg">{post.excerpt}</p>
|
||||||
</article>
|
</article>
|
||||||
|
Reference in New Issue
Block a user