fix(frontend/blog) fix category chip z-axis height

This commit is contained in:
lumither committed 2024-05-12 12:18:03 +08:00
1 parent a11d859f40
commit 7d856f25a3
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ function BlogPostCard({ post }: Props) {
<CardBody className={ `overflow-visible` }> <CardBody className={ `overflow-visible` }>
<div className={ `flex flex-row justify-between` }> <div className={ `flex flex-row justify-between` }>
<div className={ `mx-2 ${ pic_url !== '' ? '-mt-8' : 'mt-2' }` }> <div className={ `mx-2 ${ pic_url !== '' ? '-mt-8' : 'mt-2' }` }>
<Chip className={ `mb-2 z-50` } radius={ `sm` } color={ `secondary` } <Chip className={ `mb-2 z-30` } radius={ `sm` } color={ `secondary` }
variant={ `solid` }>{ category }</Chip> variant={ `solid` }>{ category }</Chip>
<p className={ `text-4xl font-bold` }> { title }</p> <p className={ `text-4xl font-bold` }> { title }</p>
<p className={ `text-xl` }> { sub_title }</p> <p className={ `text-xl` }> { sub_title }</p>