radio group: allow wrapping in horizontal layout
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
{#if label}
|
||||
<Label {...group.label}>{label}</Label>
|
||||
{/if}
|
||||
<div class="flex {isVert ? 'flex-col gap-1' : 'flex-row justify-center gap-3'}">
|
||||
<div class="flex {isVert ? 'flex-col gap-1' : 'flex-row flex-wrap justify-center gap-3'}">
|
||||
{#each options as opt (getValue(opt))}
|
||||
{@const item = group.getItem(getValue(opt))}
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user