Skip to content

Commit

Permalink
animate none when selected
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur authored and Arthur committed Mar 17, 2024
1 parent 911792b commit b922144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<transition-scale group class="contents" no-opacity>
<div v-for="movie in visibleMovies" :key="movie.src" v-show="movie.src == hoveredMovie?.src"
class="hidden md:block absolute top-4 px-2 left-[45vw] w-56 rounded-lg text-teal-500 animate-pulse z-20 bg-teal-300/20 "
:class = "{'border-b-2 border-teal-600/35 animate-none' : movie.src == selectedMovie?.src}"
:class = "{'border-b-2 border-teal-600/35 !animate-none' : movie.src == selectedMovie?.src}"
>
<i class="las la-map-marker"></i>
<span class="">
Expand Down

0 comments on commit b922144

Please sign in to comment.