Skip to content

Commit

Permalink
Fix hover and focus styles in ItemList component
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Dec 21, 2023
1 parent 6d91593 commit dd75f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/ItemList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
{#each filteredItems as item}
<button
id="row"
class="pl-1 grid grid-cols-24 w-full {$settings.listSize} hover:variant-ghost-primary focus:variant-ghost-primary"
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)}
>
Expand Down

0 comments on commit dd75f47

Please sign in to comment.