Skip to content

Commit

Permalink
remove double-hover
Browse files Browse the repository at this point in the history
  • Loading branch information
teofanis committed Mar 17, 2021
1 parent b3b0caa commit 8d76286
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/components/partials/item.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@props(['theme' => getTheme(), 'settings'])
<li x-bind:id="name + 'Option' + item.key" x-on:click="selectOption(item.key)" role="option" class="relative py-2 pl-3 text-{{$theme['default-text-color']}} cursor-default select-none pr-9 {{ $settings['alignment'] }} hover:text-white hover:bg-{{$theme['default-primary-color']}}">
<span class="hover:text-white w-full">
<span x-text="item.value" class="block font-normal truncate font-normal hover:font-semibold"></span>
<span x-show="multiselect ? value.includes(item.key) : (item.key === value) " :class="{'flex flex-row-reverse' : multiselect ? value.includes(item.key) : (item.key === value) }" class="absolute inset-y-0 right-0 w-full items-center pr-4 text-{{$theme['default-primary-color']}} hover:text-white">
<span class="hover:text-white w-full cursor-pointer">
<span x-text="item.value" class="block font-normal truncate font-normal"></span>
<span x-show="multiselect ? value.includes(item.key) : (item.key === value) " :class="{'flex flex-row-reverse' : multiselect ? value.includes(item.key) : (item.key === value) }" class="absolute top-0 bottom-0 right-0 w-full items-center pr-4 ">
<svg class="w-5 h-5" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" />
</svg>
Expand Down

0 comments on commit 8d76286

Please sign in to comment.