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

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Christian Pojoni
2026-04-26 00:49:03 +02:00
committed by GitHub
parent 2203933fac
commit 775f625f6e
@@ -21,7 +21,9 @@ 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)">{section.title || getSectionTitle(type)}</h6>
<h6 className="mb-1.5 text-(--page-primary-color) print:break-after-avoid">
{section.title || getSectionTitle(type)}
</h6>
<div
className="section-content grid gap-x-(--page-gap-x) gap-y-(--page-gap-y)"