From a353988633fc8f8f7c08ddef2a90f2800a7a2a53 Mon Sep 17 00:00:00 2001 From: ljt990218 <50509815+ljt990218@users.noreply.github.com> Date: Fri, 14 Jun 2024 02:33:40 +0800 Subject: [PATCH] fix: UserPanelPop hover Inconsistent animation (#835) --- src/components/TopBar/components/UserPanelPop.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/TopBar/components/UserPanelPop.vue b/src/components/TopBar/components/UserPanelPop.vue index 4b97a98f..ff3fbf1e 100644 --- a/src/components/TopBar/components/UserPanelPop.vue +++ b/src/components/TopBar/components/UserPanelPop.vue @@ -145,12 +145,13 @@ async function logout() { a { --uno: "p-2 m-0 rounded-$bew-radius text-sm flex flex-col items-center transition-all duration-300"; - --uno: "bg-$bew-fill-1 hover:bg-$bew-theme-color hover:text-white"; + --uno: "bg-$bew-fill-1 hover:bg-$bew-theme-color"; > * { --uno: "transition-all duration-300"; } + &:hover .num, &:hover .num + div { --uno: "text-white"; }