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.
This commit is contained in:
Rotimi Best
2026-06-14 19:07:19 +01:00
parent f74788ab45
commit 8503e8595e
@@ -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}
<Icon class="ui:size-3.5" />
<Icon size={14} class="ui:size-3.5" />
{/if}
<span>{ctx.labelFor(sectionKey)}</span>
</div>