From 34eb136b36f0a792b74dd65eadfc6fc90859fe2f Mon Sep 17 00:00:00 2001 From: ljt990218 <50509815+ljt990218@users.noreply.github.com> Date: Thu, 20 Jun 2024 22:52:20 +0800 Subject: [PATCH] fix(VideoCard): more button issue #829 && add use cursor-pointer (#853) * fix: UserPanelPop hover Inconsistent animation * fix(VideoCard): `moreBtn` Button issue from `#829`, add cursor-pointer class to enhance UX --- src/components/VideoCard/VideoCard.vue | 3 +-- src/contentScripts/views/Home/components/ForYou.vue | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/VideoCard/VideoCard.vue b/src/components/VideoCard/VideoCard.vue index 649ab913..d0df1bde 100644 --- a/src/components/VideoCard/VideoCard.vue +++ b/src/components/VideoCard/VideoCard.vue @@ -422,8 +422,7 @@ function handleUndo() { class="opacity-0 group-hover/desc:opacity-100" :class="{ 'more-active': moreBtnActive }" shrink-0 w-30px h-30px m="t--3px r--8px" translate-x--8px - grid place-items-center - pointer="auto" rounded="50%" duration-300 + grid place-items-center cursor-pointer rounded="50%" duration-300 @click.prevent="handleMoreBtnClick" >
diff --git a/src/contentScripts/views/Home/components/ForYou.vue b/src/contentScripts/views/Home/components/ForYou.vue index b835ff0a..355dff09 100644 --- a/src/contentScripts/views/Home/components/ForYou.vue +++ b/src/contentScripts/views/Home/components/ForYou.vue @@ -320,6 +320,7 @@ function closeVideoOptions() { function closeAppVideoOptions() { showVideoOptions.value = false + activatedVideoId.value = 0 activatedAppVideoIdx.value = 0 }