Skip to content

Commit f3f65b6

Browse files
author
John Goodliff
committed
Fix issue with section widths
1 parent d0f00bb commit f3f65b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/layout/section.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export const Section = forwardRef(
3434
ref: ForwardedRef<HTMLElement>,
3535
) => {
3636
const classNameProps = getClassNameProps(
37-
'flex z-10 flex-col justify-center w-full',
38-
responsive && 'w-10/12 max-w-5xl lg:w-9/12 xl:w-8/12', // Adjust width based on screen size
37+
'flex z-10 flex-col justify-center break-inside-avoid-page',
38+
responsive ? 'w-10/12 lg:w-9/12 xl:w-8/12 max-w-5xl' : 'w-full', // Adjust width based on screen size
3939
className,
4040
);
4141
const sectionHeaderClassNameProps = getClassNameProps(

0 commit comments

Comments
 (0)