Skip to content

Commit

Permalink
small ani change
Browse files Browse the repository at this point in the history
  • Loading branch information
smallbrownbike committed Jan 9, 2025
1 parent 56eb195 commit f1fd59d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ export default function Chat(): JSX.Element | null {
<AnimatePresence>
{showDisclaimer && (
<motion.div
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { duration: 0.2 } }}
exit={{ opacity: 0, transition: { duration: 0.2 } }}
initial={{ opacity: 0, translateY: '-100%' }}
animate={{ opacity: 1, translateY: 0, transition: { duration: 0.2 } }}
exit={{ opacity: 0, translateY: '-100%', transition: { duration: 0.2 } }}
className="absolute top-0 left-0 w-full z-10"
>
<div className="m-2 p-2 flex items-center justify-between bg-[#feedd5] dark:bg-dark border border-light dark:border-dark rounded overflow-hidden flex-shrink-0">
Expand Down

0 comments on commit f1fd59d

Please sign in to comment.