From 100c444676d17d3062464397e53240efc74cc938 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 21 Dec 2020 19:39:27 -0600 Subject: [PATCH] Modal animation --- components/Modal.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Modal.jsx b/components/Modal.jsx index 56b6952..574b736 100644 --- a/components/Modal.jsx +++ b/components/Modal.jsx @@ -55,7 +55,7 @@ const Modal = ({ open, onClose, children }) => { ref={ref} {...bind()} className={classNames( - 'fixed z-40 top-5 transform transform-gpu translate w-full h-full bg-white rounded-t-lg', + 'fixed z-40 top-5 transform transform-gpu ease-in-out duration-300 translate w-full h-full bg-white rounded-t-lg', { 'transition-transform': !dragging, }