fix: tags layout in post

This commit is contained in:
Timothy Lin 2021-02-12 16:40:09 +08:00
parent e19df894b6
commit a1060a7b79

View File

@ -80,7 +80,7 @@ export default function PostLayout({ children, frontMatter, next, prev }) {
<h2 className="text-xs tracking-wide text-gray-500 uppercase dark:text-gray-400">
Tags
</h2>
<div className="space-x-3 xl:flex xl:flex-col xl:space-x-0">
<div className="flex flex-wrap">
{tags.map((tag) => (
<Tag key={tag} text={tag} />
))}