Skip to content

Commit

Permalink
allow chip to scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
cmintey committed Jan 31, 2025
1 parent 383b380 commit da67b9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/wishlists/chips/BaseChip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
icon="ion:caret-down"
></iconify-icon>
</button>
<nav class="card list-nav z-10 p-4 shadow-xl" data-popup={popupKey}>
<ul>
<nav class="card list-nav z-10 max-h-96 p-4 shadow-xl" data-popup={popupKey}>
<ul class="max-h-72 overflow-scroll">
{#each options as option (option.value + option.direction)}
<li>
{#if multiselect}
Expand All @@ -163,7 +163,7 @@
{/each}
</ul>
{#if multiselect}
<div class="flex flex-row space-x-2 pt-2">
<div class="flex flex-row justify-between space-x-2 pt-4">
<button id="cancel" class="variant-ghost-secondary btn btn-sm" onclick={handleCancel}>
{$t("general.cancel")}
</button>
Expand Down

0 comments on commit da67b9d

Please sign in to comment.