Fix selected UI in tabs-with-pure-tailwind example
This commit is contained in:
@@ -71,6 +71,7 @@
|
|||||||
<span>{tab.name}</span>
|
<span>{tab.name}</span>
|
||||||
{#if tab.disabled}
|
{#if tab.disabled}
|
||||||
<small class="inline-block px-4 text-xs">(disabled)</small>
|
<small class="inline-block px-4 text-xs">(disabled)</small>
|
||||||
|
{/if}
|
||||||
<span
|
<span
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
class={classNames(
|
class={classNames(
|
||||||
@@ -78,7 +79,6 @@
|
|||||||
"absolute inset-x-0 bottom-0 h-0.5"
|
"absolute inset-x-0 bottom-0 h-0.5"
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{/if}
|
|
||||||
</Tab>
|
</Tab>
|
||||||
{/each}
|
{/each}
|
||||||
</TabList>
|
</TabList>
|
||||||
|
|||||||
Reference in New Issue
Block a user