Magzine主题样式微调

This commit is contained in:
tangly1024.com
2025-01-26 11:06:34 +08:00
parent 67a750a757
commit eff5b4c022
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export default function ArticleInfo(props) {
return (
<>
<div className='flex flex-col gap-y-4 py-4 px-2 lg:px-0'>
<div className='flex justify-center items-center'>
<div className='flex justify-center items-center space-x-1'>
{siteConfig('MAGZINE_POST_LIST_CATEGORY') && (
<CategoryItem category={post?.category} />
)}

View File

@@ -45,7 +45,7 @@ const PostItemCardTop = ({ post, showSummary }) => {
</Link>
)}
<div className='flex py-2 mr-2 items-center'>
<div className='flex py-2 space-x-1 items-center'>
{siteConfig('MAGZINE_POST_LIST_CATEGORY') && (
<CategoryItem category={post?.category} />
)}