mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-26 01:44:53 +10:00
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:
@@ -21,7 +21,9 @@ export function PageSection<T extends SectionType>({ type, className, children }
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<section className={cn(`page-section page-section-${type}`, className)}>
|
<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
|
<div
|
||||||
className="section-content grid gap-x-(--page-gap-x) gap-y-(--page-gap-y)"
|
className="section-content grid gap-x-(--page-gap-x) gap-y-(--page-gap-y)"
|
||||||
|
|||||||
Reference in New Issue
Block a user