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!

fix(artboard): fix padding regression in Gengar template (#2463)

Mohammed Alhalwachif6dc3bf8dfcc
diff --git a/apps/artboard/src/templates/gengar.tsx b/apps/artboard/src/templates/gengar.tsx
index d0e9cc747..7dccf9713 100644
--- a/apps/artboard/src/templates/gengar.tsx
+++ b/apps/artboard/src/templates/gengar.tsx
@@ -187,7 +187,7 @@ const Section = <T,>({
if (!section.visible || section.items.filter((item) => item.visible).length === 0) return null;
return (
- <section id={section.id} className="grid">
+ <section id={section.id} className="my-custom grid px-custom">
<h4 className="mb-2 border-b border-primary text-base font-bold">{section.name}</h4>
<div
@@ -586,10 +586,7 @@ export const Gengar = ({ columns, isFirstPage = false }: TemplateProps) => {
>
{isFirstPage && <Header />}
- <div
- className="flex-1 space-y-4 p-custom"
- style={{ backgroundColor: hexToRgb(primaryColor, 0.2) }}
- >
+ <div className="flex-1" style={{ backgroundColor: hexToRgb(primaryColor, 0.2) }}>
{sidebar.map((section) => (
<Fragment key={section}>{mapSectionToComponent(section)}</Fragment>
))}
@@ -597,11 +594,9 @@ export const Gengar = ({ columns, isFirstPage = false }: TemplateProps) => {
</div>
<div className={cn("main group", sidebar.length > 0 ? "col-span-2" : "col-span-3")}>
- <div className="space-y-4 p-custom">
- {main.map((section) => (
- <Fragment key={section}>{mapSectionToComponent(section)}</Fragment>
- ))}
- </div>
+ {main.map((section) => (
+ <Fragment key={section}>{mapSectionToComponent(section)}</Fragment>
+ ))}
</div>
</div>
);