style: add transition

This commit is contained in:
Fred
2024-04-30 18:58:19 +08:00
parent cadd2558fd
commit ecf6cc27d6
2 changed files with 4 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ export default function SessionItem(props: {
group/chat-menu-list relative flex p-3 items-center gap-2 self-stretch rounded-md mb-2
border
bg-chat-menu-session-unselected border-chat-menu-session-unselected cursor-pointer
transition-colors duration-300 ease-in-out
${
props.selected &&
(currentPath === Path.Chat || currentPath === Path.Home)