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!

fixes #2526

Amruth Pillai4f61e921cd5a
diff --git a/src/components/resume/shared/page-section.tsx b/src/components/resume/shared/page-section.tsx
index 0a0bba436..fd83f4688 100644
--- a/src/components/resume/shared/page-section.tsx
+++ b/src/components/resume/shared/page-section.tsx
@@ -21,16 +21,16 @@ export function PageSection<T extends SectionType>({ type, className, children }
<section className={cn(`page-section page-section-${type}`, className)}>
<h6 className="mb-1 text-(--page-primary-color)">{section.title || getSectionTitle(type)}</h6>
- <ul
+ <div
className="section-content grid gap-x-(--page-gap-x) gap-y-(--page-gap-y)"
style={{ gridTemplateColumns: `repeat(${section.columns}, 1fr)` }}
>
{items.map((item) => (
- <li key={item.id} className={cn(`section-item section-item-${type} wrap-break-word *:space-y-1`)}>
+ <div key={item.id} className={cn(`section-item section-item-${type} wrap-break-word *:space-y-1`)}>
{children(item)}
- </li>
+ </div>
))}
- </ul>
+ </div>
</section>
);
}