Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rossedfort committed Sep 26, 2024
1 parent 79cc0e4 commit bca9bd5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/holocene/combobox/combobox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,11 @@
{#if leadingIcon}
<Icon width={20} height={20} class="ml-2 shrink-0" name={leadingIcon} />
{/if}
<div class="flex w-full flex-wrap items-center gap-2 py-1">
<div
class="flex w-full flex-wrap items-center"
class:gap-2={multiselect}
class:py-1={multiselect}
>
{#if multiselect && isArrayValue(value) && value.length > 0}
{#if displayChips}
{#each value.slice(0, chipLimit) as v}
Expand Down Expand Up @@ -418,7 +422,7 @@
<Icon name={$open ? 'chevron-up' : 'chevron-down'} />
</Button>
{#if $$slots.action}
<div class="ml-1 flex h-full items-center border-l-2 border-subtle p-0.5">
<div class="ml-1 flex h-full items-center border-l-2 border-subtle p-1">
<slot name="action" />
</div>
{/if}
Expand Down

0 comments on commit bca9bd5

Please sign in to comment.