Improve post spacing

This commit is contained in:
tobias 2024-06-24 09:35:19 +02:00
parent bb426df41a
commit f3596d4258
2 changed files with 5 additions and 1 deletions

View File

@ -65,6 +65,10 @@
@apply ring-secondary;
}
h1, h2, h3, h4, h5, h6 {
@apply mb-2;
}
h1 {
@apply text-5xl font-bold;
}

View File

@ -10,7 +10,7 @@ interface Props {
export default function PostPage(props: Props) {
return (
<article>
<article className="leading-relaxed">
<Blocks blocks={props?.post.blocks} locale="en" />
{props?.post.author && typeof props?.post.author !== 'string' && (
<Author author={props?.post.author} />