Skip to content

Commit

Permalink
borders b gone
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Dec 21, 2023
1 parent 30007fc commit 6d91593
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/lib/components/ItemList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,15 @@
{/each}
</div>
</div>
<div class="h-[calc(var(--slotHeight)_-_3.625rem)] overflow-y-scroll offset-scroll scroll-thin">
<div
class="h-[calc(var(--slotHeight)_-_3.625rem)] overflow-y-scroll offset-scroll scroll-thin
[&_button:nth-child(odd)]:bg-surface-200/50 dark:[&_button:nth-child(odd)]:bg-surface-700/50"
>
{#each filteredItems as item}
<button
id="row"
class="pl-1 border-b-next grid grid-cols-24 w-full {$settings.listSize} hover:variant-ghost-primary focus:variant-ghost-primary"
class:variant-soft-primary={selected === item}
class="pl-1 grid grid-cols-24 w-full {$settings.listSize} hover:variant-ghost-primary focus:variant-ghost-primary"
class:!variant-soft-primary={selected === item}
on:click={() => (selected = item)}
>
{#each columns
Expand Down

0 comments on commit 6d91593

Please sign in to comment.