Skip to content

Commit

Permalink
fix margin top PostItem
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanjam committed May 25, 2024
1 parent 0a79140 commit ec949d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/todo3.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,8 @@ https://guillaumeduhan.hashnode.dev/ive-build-a-reusable-team-component-for-next
fix Post and PostCollection types, Post has readingTime (calc props) and PostCollection only frontmatter
concat routes helper
rewrite for loops await with Promise.all()
LinkButton
share widget
404 page style
pagination with numbers
```
2 changes: 1 addition & 1 deletion src/components/PostListItem.astro
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const postMetaProps = { readingTime, publishDate };
<PostMeta {...postMetaProps} class="text-sm text-captions" />

{/* title */}
<h2 class="text-2xl font-bold break-words line-clamp-2 mb-2">
<h2 class="text-2xl font-bold break-words line-clamp-2 mt-0 mb-2">
<a href={`${ROUTES.BLOG}${slug}`} class="link-heading">
{title}
{draft && <sup class="text-sm text-red-400">(draft)</sup>}
Expand Down

0 comments on commit ec949d9

Please sign in to comment.