Skip to content

Commit

Permalink
fix: section max width
Browse files Browse the repository at this point in the history
  • Loading branch information
apledger committed Dec 19, 2024
1 parent 731b60a commit 14383cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/web/vibes/soul/sections/section-layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export function SectionLayout({
className={clsx(
'mx-auto px-4 py-10 @xl:px-6 @xl:py-14 @4xl:px-8 @4xl:py-20',
{
md: 'max-w-screen-[var(--section-max-width-md,768px)]',
lg: 'max-w-screen-[var(--section-max-width-lg,1024px)]',
xl: 'max-w-screen-[var(--section-max-width-xl,1280px)]',
'2xl': 'max-w-screen-[var(--section-max-width-2xl,1536px)]',
md: 'max-w-[var(--section-max-width-md,768px)]',
lg: 'max-w-[var(--section-max-width-lg,1024px)]',
xl: 'max-w-[var(--section-max-width-xl,1280px)]',
'2xl': 'max-w-[var(--section-max-width-2xl,1536px)]',
}[containerSize],
)}
>
Expand Down
8 changes: 4 additions & 4 deletions apps/web/vibes/soul/sections/sticky-sidebar-layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export function StickySidebarLayout({
className={clsx(
'mx-auto flex flex-col items-stretch gap-x-16 gap-y-10 px-4 py-10 @xl:px-6 @xl:py-14 @4xl:flex-row @4xl:px-8 @4xl:py-20',
{
md: 'max-w-screen-[var(--section-max-width-md,768px)]',
lg: 'max-w-screen-[var(--section-max-width-lg,1024px)]',
xl: 'max-w-screen-[var(--section-max-width-xl,1280px)]',
'2xl': 'max-w-screen-[var(--section-max-width-2xl,1536px)]',
md: 'max-w-[var(--section-max-width-md,768px)]',
lg: 'max-w-[var(--section-max-width-lg,1024px)]',
xl: 'max-w-[var(--section-max-width-xl,1280px)]',
'2xl': 'max-w-[var(--section-max-width-2xl,1536px)]',
}[containerSize],
)}
>
Expand Down

0 comments on commit 14383cd

Please sign in to comment.