From 7250bed70107d539ed727411dc78f500b74130c2 Mon Sep 17 00:00:00 2001 From: Fynn Fischbach Date: Tue, 27 Jan 2026 20:59:40 +0100 Subject: [PATCH] Fix/#2607 remove empty proficiency spacing (#2626) * fix: remove empty proficiency and keywords spacing in skills items Only render proficiency and keywords fields when they contain values, preventing empty inline-block elements from reserving unwanted space in templates like Pikachu. Fixes #2607 * style: biome check --write --- src/components/resume/shared/items/skills-item.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/resume/shared/items/skills-item.tsx b/src/components/resume/shared/items/skills-item.tsx index ebc6e7690..49ac23f9b 100644 --- a/src/components/resume/shared/items/skills-item.tsx +++ b/src/components/resume/shared/items/skills-item.tsx @@ -17,12 +17,16 @@ export function SkillsItem({ className, ...item }: SkillsItemProps) { {/* Proficiency */} - {item.proficiency} + {item.proficiency && ( + {item.proficiency} + )} {/* Keywords */} - - {item.keywords.join(", ")} - + {item.keywords.length > 0 && ( + + {item.keywords.join(", ")} + + )} {/* Level */}