Fix selected UI in tabs-with-pure-tailwind example

This commit is contained in:
Ryan Gossiaux
2021-12-21 11:43:53 -08:00
parent b973fa6fe2
commit 7d413d6e34

View File

@@ -71,6 +71,7 @@
<span>{tab.name}</span>
{#if tab.disabled}
<small class="inline-block px-4 text-xs">(disabled)</small>
{/if}
<span
aria-hidden="true"
class={classNames(
@@ -78,7 +79,6 @@
"absolute inset-x-0 bottom-0 h-0.5"
)}
/>
{/if}
</Tab>
{/each}
</TabList>