fix(web): highlight thumbnail select icon on button hover (#31972)

This commit is contained in:
Mees Frensel
2026-10-01 10:30:39 +00:00
committed by GitHub
parent de6dcf669c
commit 85a09e42e5
@@ -395,7 +395,7 @@
<button
type="button"
onclick={onIconClickedHandler}
class={['absolute z-2 p-2 focus:outline-none', { 'cursor-not-allowed': disabled }]}
class={['group/select absolute z-2 p-2 focus:outline-none', { 'cursor-not-allowed': disabled }]}
role="checkbox"
tabindex={-1}
aria-checked={selected}
@@ -408,7 +408,7 @@
<Icon data-icon-select icon={mdiCheckCircle} size="24" class="text-primary" />
</div>
{:else}
<Icon data-icon-select icon={mdiCheckCircle} size="24" class="text-white/80 hover:text-white" />
<Icon data-icon-select icon={mdiCheckCircle} size="24" class="text-white/80 group-hover/select:text-white" />
{/if}
</button>
{/if}