Skip to content

Commit

Permalink
feat: add comment hr & fix hr style
Browse files Browse the repository at this point in the history
  • Loading branch information
loks0n committed Jun 7, 2023
1 parent d813268 commit 36e5d20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions example-blog/src/components/Comments.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { postId } = Astro.props;

<post-comments data-postid={postId}>
<div class="u-flex u-flex-vertical u-gap-16">
<hr style="border-bottom: 0.05rem solid hsl(var(--color-border))" />
<form
class="form u-width-full-line u-flex u-flex-vertical u-gap-16"
style="display: none;"
Expand Down
2 changes: 1 addition & 1 deletion example-blog/src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const { $id, $updatedAt, $createdAt, title, content, description, imageurl } =
}
{$createdAt && <time>{new Date($createdAt).toLocaleDateString()}</time>}
</div>
<hr class="hr" />
<hr style="border-bottom: 0.05rem solid hsl(var(--color-border))" />
{content}
</article>
<section class="u-margin-block-start-32">
Expand Down

0 comments on commit 36e5d20

Please sign in to comment.