Skip to content

Commit

Permalink
💄 update style
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonMao committed Nov 4, 2023
1 parent 73d2978 commit 49939b5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/[lang]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function RootPage({ params: { lang } }: RootParams) {

return (
<>
<Container className="py-8">
<Container className="pb-8">
<H1 className="mb-4 text-3xl font-bold dark:text-white">
{metadata.title}
</H1>
Expand Down
2 changes: 1 addition & 1 deletion src/app/[lang]/posts/[postId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function PostPage({ params: { postId } }: PostParams) {

return (
<>
<Container className="py-8">
<Container className="pb-8">
<H1 className="mb-4 text-3xl font-bold dark:text-white">
{frontmatter.title}
</H1>
Expand Down
2 changes: 1 addition & 1 deletion src/app/[lang]/posts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function RootPage({ params: { lang } }: RootParams) {

return (
<>
<Container className="py-8">
<Container className="pb-8">
<H1 className="mb-4 text-3xl font-bold dark:text-white">
{metadata.title}
</H1>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Container/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ function Container({ as = 'div', className, ...props }: ContainerProps) {
return (
<Component
className={cn(
'px-7 md:mx-8 lg:mx-16 lg:px-14',
'px-7 mx-2 md:mx-8 lg:mx-16 lg:px-14',
as === 'main' &&
'mt-4 rounded-lg border-2 border-zinc-500 bg-zinc-100/70 dark:bg-zinc-900/70',
'rounded-lg border-2 border-zinc-500 bg-zinc-100/70 dark:bg-zinc-900/70',
className
)}
{...props}
Expand Down

0 comments on commit 49939b5

Please sign in to comment.