CLASSROOMIO-T-84: Unresolved Fix

This commit is contained in:
tunny17
2023-08-10 08:23:22 +01:00
parent 45b46e001c
commit c386763ff4
2 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -35,9 +35,12 @@
<Chip value={tab.badgeValue} className="ml-1 bg-gray-300 dark:text-black" />
{/if} -->
{#if currentTab === tab.value}
<span class="absolute w-full bottom-0 left-0 h-1 bg-blue-500 rounded-md" />
{/if}
<span
class="absolute w-full bottom-0 left-0 h-1 bg-blue-500 rounded-md transition-all ease-in-out duration-500 {currentTab ===
tab.value
? 'w-full'
: 'w-0'}"
/>
</button>
{/each}
</div>