Stop the remove icon being clipped on profile multi-select badges

This commit is contained in:
Coracle-Bot 2026-09-11 16:22:01 +00:00 committed by hodlbod
parent 32e46da440
commit f11be3be8a

View file

@ -74,9 +74,9 @@
<div> <div>
{#each value as pubkey (pubkey)} {#each value as pubkey (pubkey)}
{@const onClick = () => pushModal(ProfileDetail, {pubkey})} {@const onClick = () => pushModal(ProfileDetail, {pubkey})}
<Badge variant="neutral" class="flex-inline mr-1 mb-1 gap-1"> <Badge variant="neutral" class="mr-1 mb-1 gap-1">
<Button class="flex items-center" onclick={() => removePubkey(pubkey)}> <Button class="flex items-center" onclick={() => removePubkey(pubkey)}>
<Icon icon={CloseCircle} size={4} class="-ml-1 mt-px" /> <Icon icon={CloseCircle} size={4} />
</Button> </Button>
<Button onclick={onClick}> <Button onclick={onClick}>
<ProfileName {pubkey} /> <ProfileName {pubkey} />