Skip to content

Commit

Permalink
fix: 🐛 Fix section padding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinhern committed Jan 25, 2025
1 parent 5ff8cf3 commit 18e6c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Section({ heading, headingAlignment, children, ...props
return (
<section
{...props}
className={cn("col-reverse flex flex-col gap-4 md:flex-row md:gap-9", props.className)}
className={cn("flex flex-col gap-4 md:flex-row md:gap-9", props.className)}
id={heading.toLowerCase().replace(/\s/g, "-")}
>
<h2
Expand All @@ -26,7 +26,7 @@ export default function Section({ heading, headingAlignment, children, ...props
>
{heading}
</h2>
{children}
<div className="flex-1">{children}</div>
</section>
);
}

0 comments on commit 18e6c66

Please sign in to comment.