Skip to content

Commit

Permalink
fix: resolve timeline line not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
tmthyadms committed Nov 19, 2023
1 parent 93d6e76 commit d478af7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/timeline-edu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<li :key="index">
<hr
v-if="index !== 0"
:class="{ 'bg-success': edu.completed && index - 1 !== 0 }"
:class="{
'bg-success': edu.completed && index - 1 !== 0,
}"
/>
<div
:data-aos="aos(index)"
Expand Down Expand Up @@ -65,7 +67,10 @@
</div>
<hr
v-if="index !== edus.length - 1"
:class="{ 'bg-success': edu.completed }"
:class="{
'bg-success': edu.completed,
'bg-base-300': !edu.completed,
}"
/>
</li>
</template>
Expand Down

0 comments on commit d478af7

Please sign in to comment.