From 8503e8595e89cd9381b26f7894b6ba3e2239b812 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sun, 14 Jun 2026 19:07:19 +0100 Subject: [PATCH] fix(org-site): size section-cap icons in the landing-page editor The moving-icons family sizes its SVG via a numeric `size` prop and only forwards `class` to the wrapper div, so the cap's `size-3.5` class never reached the SVG and icons rendered at the default 24px, overflowing the cap. Pass size={14} to the cap icon. --- packages/ui/src/custom/org-landing-page/editable-section.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/custom/org-landing-page/editable-section.svelte b/packages/ui/src/custom/org-landing-page/editable-section.svelte index 5cc57914..38ddcb76 100644 --- a/packages/ui/src/custom/org-landing-page/editable-section.svelte +++ b/packages/ui/src/custom/org-landing-page/editable-section.svelte @@ -54,7 +54,7 @@ class="ui:absolute ui:top-0 ui:left-0 ui:z-30 ui:-translate-y-full ui:flex ui:items-center ui:gap-1.5 ui:rounded-t-md ui:bg-primary ui:px-2 ui:py-1 ui:text-xs ui:font-medium ui:text-primary-foreground ui:shadow-sm ui:pointer-events-none" > {#if Icon} - + {/if} {ctx.labelFor(sectionKey)}