From e51227001710f350a940967d395d0ca4ba358e1b Mon Sep 17 00:00:00 2001 From: Mackie Date: Mon, 1 Jun 2026 17:25:55 +0800 Subject: [PATCH] mobile --- src/blocks/Skills/Component.tsx | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/blocks/Skills/Component.tsx b/src/blocks/Skills/Component.tsx index 7748623..4efa23f 100644 --- a/src/blocks/Skills/Component.tsx +++ b/src/blocks/Skills/Component.tsx @@ -36,13 +36,7 @@ export function SkillsBlock({ heading, keySkills, categories }: SkillsBlockProps )} {Array.isArray(categories) && categories.length > 0 && ( -
+
{categories.map((cat, i) => { const isLastRow = i >= categories.length - (categories.length % 3 || 3) const isLastCol = (i + 1) % 3 === 0 @@ -55,17 +49,22 @@ export function SkillsBlock({ heading, keySkills, categories }: SkillsBlockProps !isLastRow && 'border-b border-foreground/8', )} > -