fix(frontend/blog) fix style

This commit is contained in:
lumither committed 2024-05-05 00:53:54 +08:00
1 parent ac84a6acb5
commit 85d474e902
2 files changed
+2 -5

No files matched your search

+1 -4
View File
@@ -16,9 +16,7 @@ function BlogPostCard({ post }: Props) {
return (
<div>
{/*todo: to be update*/ }
{/*<Link href={ `/blog/${ name }` }>*/ }
<Card as={ Link } href={ `/blog/post/${ post_id }` }>
<Card as={ Link } href={ `/blog/post/${ post_id }` } className={ `mx-7` }>
<CardHeader>
<p className={ 'font-bold' }>{ title }</p>
</CardHeader>
@@ -31,7 +29,6 @@ function BlogPostCard({ post }: Props) {
{ last_update }
</CardBody>
</Card>
{/*</Link>*/ }
</div>
);