also fix tags

This commit is contained in:
bluestar_ 2024-01-29 17:02:25 +07:00
parent 6ae87bdf8d
commit 891813974e

View file

@ -30,7 +30,7 @@ export async function getStaticProps({ params: { slug } }) {
export default function PostPage({ frontmatter, content }) {
const postTags = frontmatter.tags.map((tag) => (
<div
className="inline-block border-2 rounded-md p-1 w-fit h-fit font-bold text-lg mr-1"
className="inline-block border rounded-md font-bold text-lg mr-1 py-0.5 px-2.5"
key={tag.toString()}
>
{tag}