Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Revert "fix(resume): prevent orphaned section headings at page break (#2851)" (#2920)

Amruth Pillai76e00ae01990
diff --git a/src/components/resume/shared/page-section.tsx b/src/components/resume/shared/page-section.tsx
index 118bb43d6..2065a1c2a 100644
--- a/src/components/resume/shared/page-section.tsx
+++ b/src/components/resume/shared/page-section.tsx
@@ -21,9 +21,7 @@ export function PageSection<T extends SectionType>({ type, className, children }
return (
<section className={cn(`page-section page-section-${type}`, className)}>
- <h6 className="mb-1.5 text-(--page-primary-color) print:break-after-avoid">
- {section.title || getSectionTitle(type)}
- </h6>
+ <h6 className="mb-1.5 text-(--page-primary-color)">{section.title || getSectionTitle(type)}</h6>
<div
className="section-content grid gap-x-(--page-gap-x) gap-y-(--page-gap-y)"