Skip to content

Commit 7d1b7ed

Browse files
adding padding around in article
1 parent c112344 commit 7d1b7ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/section-blog-theme/components/Article/Article.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function Article({ className, children }: ArticleProps) {
1010
return (
1111
<article
1212
className={cn(
13-
"nx-max-w-4xl nx-mt-5 nx-px-5 sm:nx-px-0 nx-mb-20 nx-format nx-format-section nx-format-img:nx-mx-auto sm:nx-format-sm md:nx-format-base lg:nx-format-lg nx-mx-auto",
13+
"nx-max-w-4xl nx-px-4 nx-py-4 nx-mb-20 nx-format nx-format-section nx-format-img:nx-mx-auto sm:nx-format-sm md:nx-format-base lg:nx-format-lg nx-mx-auto",
1414
className,
1515
)}
1616
>

packages/section-blog-theme/components/Layouts/Read.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function Read({
5252

5353
<Seo pageOpts={pageOpts} themeConfig={themeConfig} />
5454

55-
<Card className="nx-max-w-4xl nx-mt-12 nx-border-none nx-shadow-none nx-format nx-format-section sm:nx-format-sm md:nx-format-base lg:nx-format-lg xl:nx-format-xl 2xl:nx-format-xl nx-mx-auto">
55+
<Card className="nx-max-w-4xl nx-px-4 nx-mt-12 nx-border-none nx-shadow-none nx-format nx-format-section sm:nx-format-sm md:nx-format-base lg:nx-format-lg xl:nx-format-xl 2xl:nx-format-xl nx-mx-auto">
5656

5757
<CardContent className="nx-px-5 !nx-pb-0 sm:nx-px-0">
5858
<h1 className="nx-antialiased !nx-mb-3 nx-text-3xl nx-font-bold nx-tracking-wide sm:nx-text-4xl md:nx-text-5xl">{frontMatter.title}</h1>

0 commit comments

Comments
 (0)