Skip to content

Commit bfcbfeb

Browse files
authored
Merge pull request #253 from dotCMS/centering-blogs
Blogs now appear centered instead of flush left.
2 parents 2da6c44 + bd2cebb commit bfcbfeb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/blogs/blog-detail.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ export default function BlogDetailComponent({ post }) {
1616
return (
1717
<div className="container mx-auto w-full min-w-0 max-w-full">
1818
{/* Main Content Grid */}
19-
<div className="flex w-full min-w-0 flex-col gap-4 py-8 xl:flex-row">
19+
<div className="flex w-full min-w-0 flex-col gap-4 py-8 xl:flex-row xl:justify-center xl:gap-6">
2020

2121

2222
{/* Main Content */}
23-
<article className="w-full min-w-0 max-w-4xl flex-1 px-4">
23+
<article className="mx-auto w-full min-w-0 max-w-4xl px-4 xl:mx-0 xl:shrink-0">
2424

2525
<DetailHeader post={post} />
2626

0 commit comments

Comments
 (0)