Fixes to tab selection

This commit is contained in:
Aleksi Lassila
2023-08-05 16:33:26 +03:00
parent b07554f03b
commit cd20ece074
4 changed files with 20 additions and 6 deletions

View File

@@ -5,10 +5,13 @@
</script>
<button
class={classNames('text-zinc-300 hover:text-zinc-50 p-1 flex items-center justify-center', {
'opacity-30 cursor-not-allowed pointer-events-none': disabled,
'cursor-pointer': !disabled
})}
class={classNames(
'text-zinc-300 hover:text-zinc-50 p-1 flex items-center justify-center selectable rounded-sm',
{
'opacity-30 cursor-not-allowed pointer-events-none': disabled,
'cursor-pointer': !disabled
}
)}
on:click|stopPropagation
>
<slot />