Skip to content

Commit

Permalink
fix: center align blogs without headings
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Oct 7, 2024
1 parent 05feced commit bc9a82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/foundation/app/(Site)/blog/[slug]/BlogPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default async function BlogPost({ post }: PostProps) {
renderWithPriority
mobileImagePosition="below"
/>
<div className="mt-6 flex flex-row gap-12 md:mt-12">
<div className="mt-6 flex flex-row justify-center gap-12 md:mt-12">
<PortableText body={body} className="max-w-screen-md" wrapperComponent="section" />
{headings.length ? (
<HeadingOutline headings={headings} title={blogDictionary('inThisArticle')} />
Expand Down

0 comments on commit bc9a82b

Please sign in to comment.