mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	style: add transition
This commit is contained in:
		@@ -103,7 +103,9 @@ export default function ActionsBar(props: ActionsBarProps) {
 | 
			
		||||
              selected === action.id
 | 
			
		||||
                ? `!bg-actions-bar-btn-default ${action.activeClassName}`
 | 
			
		||||
                : "bg-transparent"
 | 
			
		||||
            } rounded-md items-center ${action.className}`}
 | 
			
		||||
            } rounded-md items-center ${
 | 
			
		||||
              action.className
 | 
			
		||||
            } transition duration-300 ease-in-out`}
 | 
			
		||||
            onClick={handlerClick(action)}
 | 
			
		||||
          >
 | 
			
		||||
            {selected === action.id ? activeIcon : inactiveIcon}
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user