style(PostCard): update headline styling for improved readability
- Changed headline class from `line-clamp-2` to `truncate` and adjusted font size to `text-sm`, enhancing the visual presentation and readability of post headlines.
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
{tagBase}
|
{tagBase}
|
||||||
/>
|
/>
|
||||||
<div>
|
<div>
|
||||||
<h5 class="line-clamp-2 font-medium leading-tight mb-1">
|
<h5 class="truncate text-sm font-medium leading-tight mb-1">
|
||||||
{post.headline ?? post.linkName ?? post.slug ?? post._slug}
|
{post.headline ?? post.linkName ?? post.slug ?? post._slug}
|
||||||
</h5>
|
</h5>
|
||||||
{#if post.subheadline}
|
{#if post.subheadline}
|
||||||
|
|||||||
Reference in New Issue
Block a user