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
+1 -1
View File
@@ -36,7 +36,7 @@
} }
</script> </script>
<nav class="{navClass} flex w-full p-2 md:px-6 bg-blue-600"> <nav class="{navClass} flex w-full p-2 md:px-6 bg-blue-500">
<ul class="flex w-full items-center"> <ul class="flex w-full items-center">
<div class="flex items-center text-white"> <div class="flex items-center text-white">
{#if isCoursePage} {#if isCoursePage}
+6 -3
View File
@@ -35,9 +35,12 @@
<Chip value={tab.badgeValue} className="ml-1 bg-gray-300 dark:text-black" /> <Chip value={tab.badgeValue} className="ml-1 bg-gray-300 dark:text-black" />
{/if} --> {/if} -->
{#if currentTab === tab.value} <span
<span class="absolute w-full bottom-0 left-0 h-1 bg-blue-500 rounded-md" /> class="absolute w-full bottom-0 left-0 h-1 bg-blue-500 rounded-md transition-all ease-in-out duration-500 {currentTab ===
{/if} tab.value
? 'w-full'
: 'w-0'}"
/>
</button> </button>
{/each} {/each}
</div> </div>